From a89b8c67737a96b392a93f4fa5d7f1beb45f27a1 Mon Sep 17 00:00:00 2001 From: Jacob Mischka Date: Wed, 7 Sep 2022 13:50:13 -0500 Subject: [PATCH] Add "[Interval] " prefix to non-production Logger logs too --- src/classes/Logger.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/classes/Logger.ts b/src/classes/Logger.ts index 09c3e97..300d34f 100644 --- a/src/classes/Logger.ts +++ b/src/classes/Logger.ts @@ -23,16 +23,16 @@ export default class Logger { } warn(...args: any[]) { - console.warn(...args) + console.warn('[Interval] ', ...args) } error(...args: any[]) { - console.error(...args) + console.error('[Interval] ', ...args) } debug(...args: any[]) { if (this.logLevel === 'debug') { - console.debug(...args) + console.debug('[Interval] ', ...args) } }