5.1.2 • Published 4 years ago

@koikorn/logger v5.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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).