Add use colours
This commit is contained in:
parent
2fbed09548
commit
75ef370703
2 changed files with 37 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ import * as fs from "node:fs";
|
|||
import { debugging, Logger } from "sync-client";
|
||||
|
||||
const logger = new Logger();
|
||||
debugging.logToConsole(logger);
|
||||
debugging.logToConsole(logger, { useColors: true });
|
||||
|
||||
process.on("unhandledRejection", (reason) => {
|
||||
logger.error(`Unhandled Rejection: ${reason}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue