simple_logger_overlay 0.1.6 copy "simple_logger_overlay: ^0.1.6" to clipboard
simple_logger_overlay: ^0.1.6 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.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
0
points
92
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

License

unknown (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