From ba5930cadc5d1af4ecd9c9bc98073e227b168baf Mon Sep 17 00:00:00 2001 From: Janis Date: Thu, 29 Jun 2023 21:49:33 +0200 Subject: [PATCH] [feature] add log tag to logger.log --- src/utils/logger.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/logger.tsx b/src/utils/logger.tsx index 279adb5..d0f8bf2 100644 --- a/src/utils/logger.tsx +++ b/src/utils/logger.tsx @@ -1,7 +1,7 @@ export default class Logger { // Log message to the console public static log(message: string, data: object | null = null): void { - console.log(`%c${message}`.trim(), "color: gray", data ?? ""); + console.log(`[Log] %c${message}`.trim(), "color: gray", data ?? ""); } // Log warning to the console