logging_handlers 0.8.0 copy "logging_handlers: ^0.8.0" to clipboard
logging_handlers: ^0.8.0 copied to clipboard

Dart 1 only

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
20
pub points
22%
popularity

Publisher

unverified uploader

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

MIT (LICENSE)

Dependencies

intl, logging

More

Packages that depend on logging_handlers