From b6e6104bc6a9d5f655094c0ebf35d73d6d942f37 Mon Sep 17 00:00:00 2001 From: Darius Date: Mon, 17 Nov 2025 14:02:25 +0100 Subject: [PATCH] Generic Commit; Most likely a fix or small feature --- src/util/logger.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/logger.ts b/src/util/logger.ts index 24ad46e..37cf466 100644 --- a/src/util/logger.ts +++ b/src/util/logger.ts @@ -1,17 +1,17 @@ import chalk from "chalk"; export function logError(...args: unknown[]) { - console.log(chalk.red(args)); + console.error(chalk.red("ERROR:"), ...args); } export function logWarning(...args: unknown[]) { - console.log(chalk.yellow(args)); + console.warn(chalk.yellow("WARNING:"), ...args); } export function logSuccess(...args: unknown[]) { - console.log(chalk.green(args)); + console.info(chalk.green("SUCCESS:"), ...args); } export function logInfo(...args: unknown[]) { - console.log(chalk.cyan(args)); + console.info(chalk.cyan("INFO:"), ...args); }