From 2f437d209704e04cc67dd33f3ee4c1bccf5d47df Mon Sep 17 00:00:00 2001 From: Sebastian Gerske Date: Tue, 2 Oct 2018 09:46:43 +0200 Subject: [PATCH] Delete logger.ts --- src/utils/logger.ts | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/utils/logger.ts diff --git a/src/utils/logger.ts b/src/utils/logger.ts deleted file mode 100644 index 571664d..0000000 --- a/src/utils/logger.ts +++ /dev/null @@ -1,22 +0,0 @@ -export default class Logger { - public static log(...args: any[]) { - Logger.dispatch("log", ...args); - } - - public static debug(...args: any[]) { - Logger.dispatch("debug", ...args); - } - - public static warn(...args: any[]) { - Logger.dispatch("warn", ...args); - } - - public static error(...args: any[]) { - Logger.dispatch("error", ...args); - } - - private static dispatch(verb: string, ...args: any[]) { - /* eslint-disable-next-line no-console */ - console[verb](...args); - } -}