flutter_log_interceptor 0.1.0
flutter_log_interceptor: ^0.1.0 copied to clipboard
The smart, zero-setup logging layer for Flutter. Beautiful colored logs, HTTP interception, in-app overlay, auto-silent in release — all from one line: FLog.init()
0.1.0 #
- Initial release.
- 8 log levels: debug, info, warn, error, fatal, http, nav, perf.
- Two built-in themes:
FLogTheme.minimalandFLogTheme.futuristic. - ANSI 256-colour output with JSON syntax highlighting.
boxedLogs— wraps each terminal record in┌─/│/└─boxes.- Global shorthand functions:
logD / logI / logW / logE / logF. FLogMixin— auto-tags logs with the enclosing class name.FLogDioInterceptorandFLogHttpClientfor HTTP logging.autoLogErrors,autoLogNavigation,autoLogPerformancehooks.FLogGoRouterObserver— pass to GoRouter'sobserversto log path-based navigation (e.g./home → /profile/123); skips framework-internal routes automatically.- In-memory log history with
exportAsJson()/exportAsText(). FLogOverlay— in-app panel with level filter, keyword search, and expandable tiles.showFloatingButton— draggable FAB with a live record count badge.- All log calls are no-ops in release mode.