logsinks 0.1.1 copy "logsinks: ^0.1.1" to clipboard
logsinks: ^0.1.1 copied to clipboard

outdated

Provides ouput targets for log messages. This package is meant to be uses with the dart logging package.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add logsinks

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

dependencies:
  logsinks: ^0.1.1

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

Import it

Now in your Dart code, you can use:

import 'package:logsinks/console_log_sink.dart';
import 'package:logsinks/log_sink.dart';
0
likes
0
pub points
12%
popularity

Publisher

unverified uploader

Provides ouput targets for log messages. This package is meant to be uses with the dart logging package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

colorize, flutter, logging

More

Packages that depend on logsinks