UNPKG

pino

Version:

super fast, all natural json logger

11 lines (7 loc) 159 B
import pino from '../../..' const transport = pino.transport({ target: 'pino/file' }) const logger = pino(transport) logger.info('Hello') process.exit(0)