Skip to content
Snippets Groups Projects
Commit f7170e14 authored by Anton Georgiev's avatar Anton Georgiev
Browse files

keep CLIENT LOG on one line to facilitate parsing

parent 8380875e
No related branches found
No related tags found
No related merge requests found
......@@ -22,13 +22,13 @@ const logClient = function (type, log, fullInfo = {}) {
if (typeof log === 'string' || log instanceof String) {
Logger.log({
level: type,
message: `${topic || 'CLIENT'} LOG: ${log}\n`,
message: `${topic || 'CLIENT'} LOG: ${log} `,
meta: logContents,
});
} else {
Logger.log({
level: type,
message: `${topic || 'CLIENT'} LOG: ${JSON.stringify(log)}\n`,
message: `${topic || 'CLIENT'} LOG: ${JSON.stringify(log)} `,
meta: logContents,
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment