simple_logger_overlay 0.1.9
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 to15.1.3
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