structured_log_cherrypick 0.1.0-dev.2
structured_log_cherrypick: ^0.1.0-dev.2 copied to clipboard
StructuredLogCherryPickObserver — a CherryPickObserver that logs what the cherrypick DI container does (scopes, modules, cycles, errors) as structured_log entries, without ever printing an instance.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add structured_log_cherrypickThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
structured_log_cherrypick: ^0.1.0-dev.2Alternatively, your editor might support dart 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_cherrypick/structured_log_cherrypick.dart';