x_logger 0.1.0
x_logger: ^0.1.0 copied to clipboard
Configurable Flutter logging: named loggers, log levels, pretty/JSON/colored output, filtering, and async export of log history to a shareable file.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add x_loggerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
x_logger: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:x_logger/x_logger.dart';