mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1153691 - intTestLogging() now adds timestamps and supports param substitution. r=rnewman
This commit is contained in:
parent
54ca3f0cd4
commit
60efcc2540
@ -23,11 +23,11 @@ this.initTestLogging = function initTestLogging(level) {
|
||||
this.errorsLogged += 1;
|
||||
}
|
||||
|
||||
return message.loggerName + "\t" + message.levelDesc + "\t" +
|
||||
message.message + "\n";
|
||||
return message.time + "\t" + message.loggerName + "\t" + message.levelDesc + "\t" +
|
||||
this.formatText(message) + "\n";
|
||||
}
|
||||
};
|
||||
LogStats.prototype.__proto__ = new Log.Formatter();
|
||||
LogStats.prototype.__proto__ = new Log.BasicFormatter();
|
||||
|
||||
let log = Log.repository.rootLogger;
|
||||
let logStats = new LogStats();
|
||||
|
Loading…
Reference in New Issue
Block a user