logger 2.6.1 copy "logger: ^2.6.1" to clipboard
logger: ^2.6.1 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.6.1
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.6k
likes
160
points
2.2M
downloads

Publisher

verified publishersourcehorizon.org

Weekly Downloads

2024.10.22 - 2025.09.16

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

Repository (GitHub)

Topics

#cli #logging

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on logger