@toki/toki-logger

1.2.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @toki/toki-logger

Weekly Downloads

2

Version

1.2.1

License

ISC

Last publish

Collaborators

  • lamchakchan
  • toki