Commit eca47d9f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

logger formatting changed

parent 2180ef48
......@@ -41,7 +41,7 @@ logger.getErrors = function () {
var buffer = inMemoryAppender.buffer.default;
for (var i = 0; i < buffer.length; i++) {
var message = buffer[i];
if (message.indexOf("'ERROR'") !== -1) {
if (message.indexOf("ERROR") !== -1) {
result.push(message);
}
}
......@@ -52,7 +52,7 @@ logger.getWarnings = function () {
var buffer = inMemoryAppender.buffer.default;
for (var i = 0; i < buffer.length; i++) {
var message = buffer[i];
if (message.indexOf("'WARN'") !== -1) {
if (message.indexOf("WARN") !== -1) {
result.push(message);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment