logging_handlers 0.5.0+1 copy "logging_handlers: ^0.5.0+1" to clipboard
logging_handlers: ^0.5.0+1 copied to clipboard

outdated

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.5.0+1

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
27%
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

unknown (license)

Dependencies

intl, logging, web_ui

More

Packages that depend on logging_handlers