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:
parent
d8e736907a
commit
2f437d2097
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user