1.2.2 • Published 7 years ago

toki-logger v1.2.2

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Toki-Logger

A logging shim for Toki to work with any and all compatible loggers.

Toki-logger exposes a simple logging interface through functions or can listen to any EventEmitter and automatically handle passing on those functions. It can be fed any standard logging library or instance that exposes methods, and it itself is an EventEmitter which can be observed.

Lead Maintainer: Derrick Hinkle

npm version Build Status Known Vulnerabilities NSP Status

Example

const TokiLogger = require('@toki/toki-logger');
const logger = TokiLogger(myLoggingInstance);

More examples can be found in the examples document and the full api in the API documentation.