UNPKG

pino

Version:

super fast, all natural json logger

12 lines (9 loc) 201 B
import pino from '../../..' const transport = pino.transport({ target: 'pino/file' }) const logger = pino(transport) transport.on('ready', function () { logger.info('Hello') process.exit(0) })