toki-logger
v1.2.2
Published
Plugin
Downloads
7
Readme
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
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.