update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
9
node_modules/pino/test/fixtures/pretty/custom-time-label.js
generated
vendored
Normal file
9
node_modules/pino/test/fixtures/pretty/custom-time-label.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
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({
|
||||
timestamp: () => ',"custom-time-label":"test"',
|
||||
prettyPrint: true
|
||||
})
|
||||
log.info('h')
|
Loading…
Add table
Add a link
Reference in a new issue