structured_log_auto_route 0.1.0-dev.1
structured_log_auto_route: ^0.1.0-dev.1 copied to clipboard
StructuredLogAutoRouteObserver — logs every auto_route navigation (push, pop, remove, tab change) as structured_log entries, with token-like parameters in the location redacted.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add structured_log_auto_routeThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
structured_log_auto_route: ^0.1.0-dev.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:structured_log_auto_route/structured_log_auto_route.dart';