en_logger 1.1.1 en_logger: ^1.1.1 copied to clipboard
EnLogger allows you to write log messages according to your needs without restricting you to writing messages to the debug console or other systems.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add en_logger
With Flutter:
$ flutter pub add en_logger
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
en_logger: ^1.1.1
Alternatively, 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:en_logger/en_logger.dart';