strlog 2.0.0-rc.1
strlog: ^2.0.0-rc.1 copied to clipboard
Structured, hierarchical, leveled logging for Dart. Features: - Built-in primitives for bound structured record context - Leveled records - Built-in configurable text and JSON log formatters - Built-i [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add strlogThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
strlog: ^2.0.0-rc.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:strlog/strlog.dart';