Add use colours

This commit is contained in:
Andras Schmelczer 2026-01-24 11:06:46 +00:00
parent 2fbed09548
commit 75ef370703
2 changed files with 37 additions and 3 deletions

View file

@ -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}`);