mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-07-18 16:53:35 -05:00
refactor: Update logger to use console.error for error logging
This commit is contained in:
parent
9971f8f4be
commit
c3c1dd297e
|
|
@ -27,7 +27,7 @@ export function LOG_ERROR(input: string): void {
|
|||
input = `[${time.getHours()}:${time.getMinutes()}:${time.getSeconds()}] [ERROR]: ${input}`;
|
||||
streams.error.write(`${input}\n`);
|
||||
|
||||
console.log(`${input}`.red.bold);
|
||||
console.error(`${input}`.red.bold);
|
||||
}
|
||||
|
||||
export function LOG_WARN(input: string): void {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user