sync mode on
This commit is contained in:
1 parent
1818932244
commit
1174b328e5
415 files changed
+44294
-1182
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
'use strict'
|
||||
const pino = require('../..')
|
||||
const log = pino({
|
||||
transport: {
|
||||
target: 'pino/file',
|
||||
options: { destination: 1 }
|
||||
}
|
||||
})
|
||||
log.info('hello world!')
|
||||
process.on('exit', (code) => {
|
||||
log.info('Exiting peacefully')
|
||||
})
|
||||
Reference in new issue
Block a user