From 32389654d7acc630d524a157881069712e1822b5 Mon Sep 17 00:00:00 2001 From: xangelo Date: Tue, 5 Sep 2023 11:21:00 -0400 Subject: [PATCH] feat: add debug/error methods to logger --- src/server/lib/logger.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/server/lib/logger.ts b/src/server/lib/logger.ts index c49e6bf..1d0759a 100644 --- a/src/server/lib/logger.ts +++ b/src/server/lib/logger.ts @@ -1,5 +1,11 @@ export const logger = { + debug: (...args: any | any[]) => { + console.debug(...args); + }, log: (...args: any | any[]) => { console.log(...args); - } + }, + error: (...args: any | any[]) => { + console.error(...args); + }, } -- 2.25.1