Open pflima92 opened 8 years ago
Hi,
I'm trying add new logger and set option logInConsole false.
e.g:
console.addLogger('monitoring', 'inverse', { logInConsole: 'false', defaultTags : ['monitoring'] });
On call: console.monitoring the log is printed on console...
In the js: console2.js
opt.logInConsole = opt.logInConsole || this.opt.logInConsole;
With this code, custom option for one logger is ignored...
So, can i help to fix this?
Yes. Please make a PR
Hi,
I'm trying add new logger and set option logInConsole false.
e.g:
console.addLogger('monitoring', 'inverse', { logInConsole: 'false', defaultTags : ['monitoring'] });
On call: console.monitoring the log is printed on console...
In the js: console2.js
opt.logInConsole = opt.logInConsole || this.opt.logInConsole;
With this code, custom option for one logger is ignored...
So, can i help to fix this?