1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

Delete logger.ts

This commit is contained in:
Sebastian Gerske 2018-10-02 09:46:43 +02:00 committed by GitHub
parent d8e736907a
commit 2f437d2097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}