update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
8
node_modules/pino/test/fixtures/destination-exit.js
generated
vendored
Normal file
8
node_modules/pino/test/fixtures/destination-exit.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
global.process = { __proto__: process, pid: 123456 }
|
||||
Date.now = function () { return 1459875739796 }
|
||||
require('os').hostname = function () { return 'abcdefghijklmnopqr' }
|
||||
var pino = require(require.resolve('./../../'))
|
||||
var logger = pino({}, pino.destination(1))
|
||||
logger.info('hello')
|
||||
logger.info('world')
|
||||
process.exit(0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue