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
fork icon0
star icon0
watch icon1