structured_log_logging 0.1.0-dev.1
structured_log_logging: ^0.1.0-dev.1 copied to clipboard
StructuredLogLoggingBridge — routes every package:logging record into structured_log, so the logs of libraries that write through package:logging reach the same sinks, viewer and server as your own.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add structured_log_loggingThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
structured_log_logging: ^0.1.0-dev.1Alternatively, 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_logging/structured_log_logging.dart';