19 lines
235 B
JavaScript
19 lines
235 B
JavaScript
'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)
|
|
}
|
|
})
|