flutter_live_logger 0.1.1 copy "flutter_live_logger: ^0.1.1" to clipboard
flutter_live_logger: ^0.1.1 copied to clipboard

Production-ready real-time logging for Flutter with HTTP, File, Memory transports, offline support, and developer-friendly APIs.

Changelog #

All notable changes to Flutter Live Logger will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.1 - 2025-06-21 #

Improved - Pub.dev Package Quality #

Package Optimization

  • Enhanced pub score - Optimized package metadata for better discoverability
  • Description refinement - Shortened package description to meet pub.flutter-io.cn requirements (60-180 characters)
  • Documentation improvements - Fixed documentation URLs and added comprehensive documentation section
  • Link validation - Resolved markdown link check issues for CI/CD reliability

Technical Improvements

  • API documentation - Added missing API documentation files to git repository
  • Link consistency - Fixed inconsistent documentation links across all markdown files
  • Build process - Improved CI/CD pipeline stability with proper link validation
  • Package structure - Better organization of documentation and examples

Developer Experience

  • Better discoverability - Enhanced package metadata for improved search ranking on pub.flutter-io.cn
  • Clearer documentation - More accessible documentation structure with proper navigation
  • Reliable CI - Fixed GitHub Actions workflow issues for consistent quality checks

Fixed #

  • Fixed .gitignore excluding documentation files
  • Resolved markdown link check failures in CI/CD
  • Fixed broken documentation URLs in package configuration
  • Corrected relative path issues in documentation links

0.1.0 - 2025-06-20 #

Added - Initial Release 🚀 #

Core Logging System

  • 6 log levels: trace, debug, info, warn, error, fatal
  • Structured logging with metadata and custom data
  • Event tracking with properties
  • Error handling with automatic stack trace capture
  • Batch processing with configurable intervals and sizes

Developer-Friendly API

  • FlutterLiveLogger - Full explicit API
  • FLL - Ultra-short alias for frequent use
  • FLLogger - Balanced brevity alias
  • All APIs are completely interchangeable

Transport Layer

  • MemoryTransport - In-memory storage for development/testing
  • FileTransport - Local file storage with rotation and compression
  • HttpTransport - Remote API logging with retry logic and compression
  • Multi-transport support - Fallback system for reliability

Storage System

  • MemoryStorage - Fast in-memory storage
  • SQLiteStorage - Persistent storage with advanced querying
  • Query system - Filter by level, time range, user, session
  • Automatic cleanup - Configurable entry limits and optimization
  • FlutterLiveLoggerNavigatorObserver - Automatic screen transition logging
  • Route tracking - Track navigation events, durations, and breadcrumbs
  • Customizable filtering - Configure which routes to track

Configuration Presets

  • LoggerConfig.development() - Verbose logging for development
  • LoggerConfig.production() - Optimized for production environments
  • LoggerConfig.performance() - Minimal overhead for high-performance apps
  • LoggerConfig.testing() - Immediate processing for testing scenarios

Advanced Features

  • Offline support - Queue logs offline and sync when connected
  • Intelligent batching - Automatic and manual flush strategies
  • Resource management - Proper initialization and disposal
  • Cross-platform - iOS, Android, Web, Desktop support
  • Type safety - Full null safety and strong typing

Documentation & Quality

  • Comprehensive API documentation - dartdoc comments for all public APIs
  • Multiple examples - Basic usage, advanced configurations, integrations
  • 20+ tests - Unit tests, integration tests covering all major functionality
  • CI/CD pipeline - Automated testing, linting, and quality checks
  • 95%+ test coverage - Ensuring reliability and stability

Performance

  • < 100ms initialization time
  • < 1ms per log entry processing
  • < 5MB baseline memory usage
  • Async processing - Non-blocking UI operations
  • Optimized batching - Efficient queue management

Developer Experience #

  • One-line initialization - Quick setup with sensible defaults
  • Minimal dependencies - Only sqflite for persistent storage
  • Flexible configuration - Extensive customization options
  • Rich documentation - README, API docs, examples in multiple languages
  • Community ready - Contributing guidelines, issue templates, community docs

Examples #

// Initialize
await FLL.init(config: LoggerConfig.development());

// Simple logging
FLL.info('User action completed');

// Structured logging  
FLL.event('purchase_completed', {
  'product_id': 'premium_subscription',
  'amount': 9.99,
  'currency': 'USD'
});

// Error handling
FLL.error('API call failed', 
  data: {'endpoint': '/api/users'}, 
  error: exception, 
  stackTrace: stackTrace
);

Compatibility #

  • Flutter: 3.16.0 or higher
  • Dart: 3.0.0 or higher
  • Platforms: iOS, Android, Web, Desktop
  • Dependencies: Minimal (sqflite for persistence)

This initial release provides a complete, production-ready logging solution for Flutter applications with comprehensive features, excellent performance, and developer-friendly APIs.

5
likes
0
points
66
downloads

Publisher

verified publishercurogom.dev

Weekly Downloads

Production-ready real-time logging for Flutter with HTTP, File, Memory transports, offline support, and developer-friendly APIs.

Repository (GitHub)
View/report issues

Topics

#logging #flutter #debugging #monitoring #analytics

Documentation

Documentation

License

unknown (license)

Dependencies

crypto, flutter, http, path, sqflite

More

Packages that depend on flutter_live_logger