2.0.1 • Published 5 years ago

@keystone-alpha/logger v2.0.1

Weekly downloads
42
License
MIT
Repository
-
Last release
5 years ago

Logger

API

require('@keystone-alpha/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).