mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-01-25 02:08:24 +00:00
* slight change to pino logger construction * remove console.log in test * added test logging back in * test
8 lines
186 B
JavaScript
8 lines
186 B
JavaScript
const opts = {
|
|
level: process.env.JAMBONES_LOGLEVEL || 'info'
|
|
};
|
|
const pino = require('pino');
|
|
const logger = pino(opts, pino.destination(1, {sync: false}));
|
|
|
|
module.exports = logger;
|