one_line_logger 1.0.3
one_line_logger: ^1.0.3 copied to clipboard
A simple flutter logger plugin with a cloud hosted UI
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.
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 (iOS coming soon).
- 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.