mirror of
https://git.stamm.me/OpenServer/NodeLogging.git
synced 2024-11-15 02:11:04 +00:00
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);
|
||||
}
|
||||
static writeMessageToFile(message, error) {
|
||||
Logging.queue.push({ message: message, error: error });
|
||||
Logging.queue.push({ message: message.replace("\n", ""), error: error });
|
||||
Logging.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) {
|
||||
Logging.queue.push({ message: message, error: error });
|
||||
Logging.queue.push({ message: message.replace("\n", ""), error: error });
|
||||
Logging.checkQueue();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user