logging_handlers 0.8.0 icon indicating copy to clipboard operation
logging_handlers: ^0.8.0 copied to clipboard

Dart 2 incompatible

A selection of handlers that you can use as targets for the "logger" pub package. Stop using print() and start using logger.info()

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add logging_handlers

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

dependencies:
  logging_handlers: ^0.8.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:logging_handlers/browser_logging_handlers.dart';
import 'package:logging_handlers/logging_handlers_shared.dart';
import 'package:logging_handlers/server_logging_handlers.dart';
0
likes
0
pub points
31%
popularity

A selection of handlers that you can use as targets for the "logger" pub package. Stop using print() and start using logger.info()

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

intl, logging

More

Packages that depend on logging_handlers