logsmith 2.0.0
logsmith: ^2.0.0 copied to clipboard
A declarative structured-logging library — typed attrs, themed output, six formats (text, JSON, YAML, TOML, Mace, logfmt), and categorical stdout/stderr routing.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add logsmithWith Flutter:
$ flutter pub add logsmithThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
logsmith: ^2.0.0Alternatively, 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:logsmith/logsmith.dart';