toki-logger

1.2.2 • 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.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i toki-logger

    Weekly Downloads

    0

    Version

    1.2.2

    License

    ISC

    Last publish

    Collaborators

    • xogrp