logger 2.5.0 copy "logger: ^2.5.0" to clipboard
logger: ^2.5.0 copied to clipboard

Small, easy to use and extensible logger which prints beautiful logs.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add logger
copied to clipboard

With Flutter:

 $ flutter pub add logger
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  logger: ^2.5.0
copied to clipboard

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:logger/logger.dart';
copied to clipboard
3.47k
likes
160
points
1.56M
downloads

Publisher

verified publishersourcehorizon.org

Weekly Downloads

2024.09.13 - 2025.03.28

Small, easy to use and extensible logger which prints beautiful logs.

Repository (GitHub)

Topics

#cli #logging

Documentation

API reference

License

MIT (license)

More

Packages that depend on logger