add hw2
This commit is contained in:
6
node_modules/pino/test/fixtures/syncfalse.js
generated
vendored
Normal file
6
node_modules/pino/test/fixtures/syncfalse.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
global.process = { __proto__: process, pid: 123456 }
|
||||
Date.now = function () { return 1459875739796 }
|
||||
require('os').hostname = function () { return 'abcdefghijklmnopqr' }
|
||||
const pino = require(require.resolve('./../../'))
|
||||
const asyncLogger = pino(pino.destination({ minLength: 4096, sync: false }))
|
||||
asyncLogger.info('h')
|
||||
Reference in New Issue
Block a user