comon_logger_navigation_flutter 0.1.1
comon_logger_navigation_flutter: ^0.1.1 copied to clipboard
NavigatorObserver for comon_logger — logs route changes with beautiful Flutter UI.
comon_logger_navigation_flutter #
Navigation logging package for Flutter built on top of comon_logger.
Quick Start #
import 'package:comon_logger_navigation_flutter/comon_logger_navigation_flutter.dart';
MaterialApp(
navigatorObservers: [ComonNavigatorObserver()],
);
What It Logs #
| Action | Example |
|---|---|
PUSH |
PUSH: /details (from: /home) |
POP |
POP: /details (from: /home) |
REPLACE |
REPLACE: /settings (from: /profile) |
REMOVE |
REMOVE: /temp |
Each navigation record is emitted with:
LogLevel.CONFIGLogLayer.widgetsLogType.navigation- structured
extrapayload for action, route, and previous route
Custom Logger Name #
ComonNavigatorObserver(loggerName: 'my_app.navigation')