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

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.4

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/ilog_message_sink.dart';
import 'package:logsinks/log_sinks.dart';
0
likes
40
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

colorize, flutter, logging

More

Packages that depend on logsinks