Projektstart
This commit is contained in:
8
backend/node_modules/pino/test/fixtures/ts/transport-string-stdout.ts
generated
vendored
Normal file
8
backend/node_modules/pino/test/fixtures/ts/transport-string-stdout.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import pino from '../../..'
|
||||
|
||||
const transport = pino.transport({
|
||||
target: 'pino/file',
|
||||
options: { destination: '1' }
|
||||
})
|
||||
const logger = pino(transport)
|
||||
logger.info('Hello')
|
||||
Reference in New Issue
Block a user