How to use the default function from bunyan
Find comprehensive JavaScript bunyan.default code examples handpicked from public code repositorys.
88 89 90 91 92 93 94 95 96 97
} else { // Never log anything when testing online // streams.push({ stream: process.stdout, level: 'error' }); } return (loggerInstance = bunyan_1.default.createLogger({ // The JSON payload of the log as it appears in Cloud Logging // will contain "name": "s2sWebApi" name: 's2sWebApi', streams
0
0
1
bunyan.createLogger is the most popular function in bunyan (572 examples)