[Gradle, JS] Simple message to message

#KT-38109 fixed
This commit is contained in:
Ilya Goncharov
2020-04-10 18:36:29 +03:00
parent 47d7424d4d
commit dccf670849
3 changed files with 4 additions and 4 deletions
@@ -5,13 +5,13 @@
'use strict';
import {formatMessage, SIMPLE_MESSAGE} from "./src/teamcity-format"
import {formatMessage, MESSAGE} from "./src/teamcity-format"
const consoleLog = console.log.bind(console);
function consoleAppender(layout, timezoneOffset) {
return (loggingEvent) => {
consoleLog(formatMessage(SIMPLE_MESSAGE, layout(loggingEvent, timezoneOffset)));
consoleLog(formatMessage(MESSAGE, layout(loggingEvent, timezoneOffset)));
};
}