UNPKG

abstract-logging

Version:

A noop logger that conforms to the Log4j interface for modules to stub out internal logging

19 lines (15 loc) 235 B
'use strict' function noop () { } const proto = { fatal: noop, error: noop, warn: noop, info: noop, debug: noop, trace: noop } Object.defineProperty(module, 'exports', { get () { return Object.create(proto) } })