scribe 0.2.1

scribe

A package for writing logs to the console or to a rotating file.

Usage

var server = new LoggingServer([new RotatingLoggingBackend("api.log"")]);
server.getNewTarget().bind(logger);
await server.start();

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  scribe: "^0.2.1"

2. Install it

You can install packages from the command line:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:scribe/scribe.dart';

Platforms

About

Logging backends for logging package.

Author

Email http://stablekernel.com stable|kernel

Homepage

github.com/stablekernel/scribe

Documentation

www.dartdocs.org/documentation/scribe/0.2.1/

Uploader

joe.conway@stablekernel.com

License

BSD

Published

Apr 28, 2017

Share