Removing more line output in one message to file
This commit is contained in:
parent
e950da73f9
commit
7aeb4037da
@ -107,7 +107,7 @@ class Logging {
|
|||||||
console.log(consoleLogFormat + m + Reset);
|
console.log(consoleLogFormat + m + Reset);
|
||||||
}
|
}
|
||||||
static writeMessageToFile(message, error) {
|
static writeMessageToFile(message, error) {
|
||||||
Logging.queue.push({ message: message, error: error });
|
Logging.queue.push({ message: message.replace("\n", ""), error: error });
|
||||||
Logging.checkQueue();
|
Logging.checkQueue();
|
||||||
}
|
}
|
||||||
static checkQueue() {
|
static checkQueue() {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -124,7 +124,7 @@ export class Logging {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static writeMessageToFile(message: string, error?: boolean) {
|
private static writeMessageToFile(message: string, error?: boolean) {
|
||||||
Logging.queue.push({ message: message, error: error });
|
Logging.queue.push({ message: message.replace("\n", ""), error: error });
|
||||||
Logging.checkQueue();
|
Logging.checkQueue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user