Fix: Don't keep tags of suppressed debug log events.
This commit is contained in:
parent
921052dff5
commit
9e9202be8e
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ if (config.server.logging.debug) {
|
|||
logInConsole: false
|
||||
});
|
||||
} else {
|
||||
process.console.debug = function () {};
|
||||
process.console.debug = function () {
|
||||
this._reset(); // forget tags, etc. for this logging event
|
||||
};
|
||||
}
|
||||
|
||||
angular.module('ffffng').factory('Logger', function (app) {
|
||||
|
|
Loading…
Reference in a new issue