simple_logger_overlay 0.1.9 copy "simple_logger_overlay: ^0.1.9" to clipboard
simple_logger_overlay: ^0.1.9 copied to clipboard

A simple, Dart 3+ compatible Flutter logging plugin with an in-app draggable overlay, log levels, and Dio support

Changelog #

0.1.9 #

  • go_router causing issue on version 15.3.2, retracted to 15.1.3

0.1.8 #

  • โœณ๏ธ Adjusted intl package version to >=0.19.0 <0.21.0, for backward compatibility

0.1.7 #

  • ๐Ÿž The formatTimestampForUTC function has been updated to correctly convert the input DateTime to UTC before formatting. This ensures that the output string accurately represents the timestamp in UTC, as intended.

0.1.6 #

  • ๐Ÿง  Minor name refactorings for classes for uniformity.

  • ๐Ÿž Added navigator support to shake controller for better accessibility

0.1.5 #

  • ๐ŸŽจ Code style improvements:
    • Applied dart format . to ensure consistent code formatting across the codebase

0.1.4 #

  • โœณ๏ธ Added pretty terminal logging with ANSI colors + emoji:

    • ๐Ÿ” DEBUG, โ„น๏ธ INFO, ๐ŸŸก WARN, ๐Ÿ”ฅ ERROR
    • Implemented via internal printStyled(...) formatter
  • โš™๏ธ Introduced global console logging toggle:

    • LogStorageService.enableConsole = false;
  • ๐Ÿง  Refactored LogStorageService to singleton pattern for optimized reuse

  • โœ… Added developer-friendly static logging API:

    SimpleLoggerOverlay.log('Something happened', level: LogLevel.info);
    
  • ๐ŸŒ Added navigation + app lifecycle observers:

    • SimpleOverlayGoRouterObserver

    • SimpleOverlayAppLifecycleObserver

  • ๐Ÿž Added DraggableDebuggerFAB:

    • Floating debug-only access point to the overlay

    • Can be placed via Stack() and moved around freely

0.1.3 #

โœจ New Features #

  • ๐Ÿ“ Added "Copy to Clipboard" button on log detail pages
    • Copies full log as formatted JSON
    • Available via AppBar action for both simple and network logs

๐Ÿ”ง Improvements #

  • โœจ Log detail now shows clean, shareable JSON
  • ๐Ÿ“‹ SnackBar confirmation after copying log

0.1.2 #

โšก Performance & Stability #

  • โœ… Isolate-based logging: Moved all file read/write/purge operations to background isolates
    • Prevents UI lag during high-frequency logging
    • Main thread stays unblocked
  • โœ… Safe platform channel usage:
    • All path_provider calls now run on the main isolate
    • Eliminated BackgroundIsolateBinaryMessenger crash

๐Ÿงผ Log Management #

  • ๐Ÿงน Auto-purges logs older than 2 days using isolates
  • ๐Ÿงพ Pretty-printed JSON body in network log detail page

๐ŸŽจ UI Improvements #

  • ๐Ÿ” Replaced log level text (DEBUG / INFO / ERROR) with intuitive icons
    • ๐Ÿž Debug โ†’ bug_report
    • โ„น๏ธ Info โ†’ info_outline
    • โ— Error โ†’ error_outline

0.1.1 #

  • ๐Ÿง  Major performance enhancements:
    • All log read/write/purge now happens in isolates to prevent UI jank
    • Log overlay is now safe for high-frequency logging in production-grade apps
  • ๐ŸŽฏ UI update:
    • Replaced log level text (DEBUG, INFO, ERROR) with intuitive icons
  • ๐Ÿงพ Log detail page now pretty-prints JSON request/response bodies
  • ๐Ÿ›‘ Auto-purge logs older than 2 days in background

0.1.0 #

  • Initial release of simple_logger_overlay
  • ๐ŸŒˆ Material 3 overlay for logs and network traffic
  • ๐Ÿš€ Shake-to-open debug tool
  • ๐Ÿ” Filter, sort, search support
  • ๐Ÿ“ฆ Integration with:
    • logger package
    • BLoC (BlocObserver)
    • Riverpod (ProviderObserver)
    • GetX (via Get.config)
  • ๐ŸŒ Dio interceptor for capturing network logs
  • ๐Ÿงพ Log detail views
  • ๐Ÿ“ค Export logs as JSON via share_plus

1.0.0 #

  • Initial release
  • LoggerCore for log levels
  • LoggerOverlay for UI
  • Dio interceptor support
2
likes
150
points
5
downloads

Publisher

verified publishersammacwan.in

Weekly Downloads

A simple, Dart 3+ compatible Flutter logging plugin with an in-app draggable overlay, log levels, and Dio support

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, flutter_bloc, flutter_riverpod, get, go_router, intl, path_provider, shake, share_plus

More

Packages that depend on simple_logger_overlay