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
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 inputDateTime
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
- 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
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 #
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
- 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:
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