Fix: Don't keep tags of suppressed debug log events.
This commit is contained in:
parent
921052dff5
commit
9e9202be8e
|
@ -23,7 +23,9 @@ if (config.server.logging.debug) {
|
||||||
logInConsole: false
|
logInConsole: false
|
||||||
});
|
});
|
||||||
} else {
|
} 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) {
|
angular.module('ffffng').factory('Logger', function (app) {
|
||||||
|
|
Loading…
Reference in a new issue