contextual_logging 1.0.2+1 copy "contextual_logging: ^1.0.2+1" to clipboard
contextual_logging: ^1.0.2+1 copied to clipboard

A log mixin that uses logger package and allows to make messages contextual.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add contextual_logging
copied to clipboard

With Flutter:

 $ flutter pub add contextual_logging
copied to clipboard

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

dependencies:
  contextual_logging: ^1.0.2+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:contextual_logging/contextual_logging.dart';
copied to clipboard
10
likes
150
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.08 - 2025.03.23

A log mixin that uses logger package and allows to make messages contextual.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

intl, logger, meta

More

Packages that depend on contextual_logging