simple_logger_overlay 0.1.8
simple_logger_overlay: ^0.1.8 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.8 #
- ✳️ Adjusted
intlpackage version to>=0.19.0 <0.21.0, for backward compatibility
0.1.7 #
- 🐞 The
formatTimestampForUTCfunction has been updated to correctly convert the inputDateTimeto 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
- Applied
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
LogStorageServiceto 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 #
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_providercalls now run on the main isolate - Eliminated
BackgroundIsolateBinaryMessengercrash
- All
🧼 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
- 🐞 Debug →
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:
loggerpackage- 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