One Line Logger

A simple, zero-config remote logging utility for Flutter. Send logs from your user's devices to a central dashboard with a single line of code.

pub package License: MIT

Why One Line Logger

  • Instant Setup: No complex initialization. Just drop it in and log.
  • Rich Context: Every log includes App Version, OS, Device Model, Country, and Usage Data automatically.
  • Monitor Anywhere: Access your logs via our Web Dashboard or Android App.
    • Android app is in pre-release testing (release date: 1st June 2026)
    • To download now, join the Testers Group then install from the Play Store
  • Lightweight: Minimal impact on your app's performance and size.

Plan Comparison

Maximize your debugging efficiency with a Pro subscription.

Feature Free Pro
One-Line Remote Logging
Full Device Metadata
Usage & Session Tracking
Send Custom Debug & Error Messages
Web & Android Dashboards (iOS coming soon)
Monitor Multiple Apps On One Dashboard
Private Log Data
Instant Push Notifications

Getting Started

First, add one_line_logger as a dependency in your pubspec.yaml file.

flutter pub add one_line_logger

Example

Next, import 'one_line_logger.dart' into your Dart code.

import 'package:one_line_logger/one_line_logger.dart';

// Initialise the logger. User stats are logged automatically!
final logger = OneLineLogger();

// Log custom messages
logger.error('Error message $e');
logger.debug('User purchased item: $item');

Web Requirement

Add your App ID to index.html

<meta name="app-id" content="com.domain.app_name">

Notes

For simplicity, logs are public by default and can be accessed by entering your App ID on the dashboard. Ensure no sensitive data is logged, or subscribe to enable data privacy.

Libraries

one_line_logger
Sends application events to the OneLineLogger dashboard.
web_utils_stub
Platform-neutral web metadata helpers for OneLineLogger.
web_utils_web
Web metadata helpers for OneLineLogger.