pino
Version:
super fast, all natural json logger
13 lines (9 loc) • 343 B
JavaScript
global.process = { __proto__: process, pid: 123456 }
Date.now = function () { return 1459875739796 }
require('node:os').hostname = function () { return 'abcdefghijklmnopqr' }
const pino = require('../../..')
const logger = pino(pino.destination({ sync: false }))
for (var i = 0; i < 1000; i++) {
logger.info('hello world')
}