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/pretty/child.js
generated
vendored
Normal file
8
node_modules/pino/test/fixtures/pretty/child.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 log = pino({ prettyPrint: true }).child({ a: 1 })
|
||||
log.info('h')
|
||||
log.child({ b: 2 }).info('h3')
|
||||
setTimeout(() => log.info('h2'), 200)
|
Loading…
Add table
Add a link
Reference in a new issue