structured_log_go_router 0.1.0-dev.6
structured_log_go_router: ^0.1.0-dev.6 copied to clipboard
StructuredLogGoRouter — logs every go_router navigation, redirect and routing error as structured_log entries, with token-like query parameters in the location redacted.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add structured_log_go_routerWith Flutter:
$ flutter pub add structured_log_go_routerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
structured_log_go_router: ^0.1.0-dev.6Alternatively, your editor might support dart pub get or 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_go_router/structured_log_go_router.dart';