@koikorn/logger

5.1.2 • Public • Published

Logger

API

require('@koikorn/logger').logger(name)

Provides an instance of pino based on the given name.

Instances are cached and re-used, making it safe to request the same named instance across multiple files.

process.env.DISABLE_LOGGING

When set to any "truthy" value, will prevent any log output from occurring (particularly useful during test runs).

Readme

Keywords

none

Package Sidebar

Install

npm i @koikorn/logger

Weekly Downloads

6

Version

5.1.2

License

MIT

Unpacked Size

5.19 kB

Total Files

5

Last publish

Collaborators

  • lorenhaim