WIP
This commit is contained in:
parent
2d0938c1e5
commit
d2cb7e8a07
7 changed files with 44 additions and 36 deletions
7
lib/logger.js
Normal file
7
lib/logger.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
var bunyan = require('bunyan');
|
||||
|
||||
var logLevel = process.env.LAMASSU_ENV === 'debug' ?
|
||||
'debug' :
|
||||
'info';
|
||||
|
||||
module.exports = bunyan.createLogger({name: 'lamassu-server', level: logLevel});
|
||||
Loading…
Add table
Add a link
Reference in a new issue