Files
infocom-systems-design/node_modules/pino/test/fixtures/transport-exit-immediately-with-async-dest.js
2025-10-03 22:27:28 +03:00

17 lines
275 B
JavaScript

'use strict'
const pino = require('../..')
const transport = pino.transport({
target: './to-file-transport-with-transform.js',
options: {
destination: process.argv[2]
}
})
const logger = pino(transport)
logger.info('Hello')
logger.info('World')
process.exit(0)