mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 06:11:49 +00:00
24 lines
515 B
TypeScript
24 lines
515 B
TypeScript
![]() |
// tslint-disable:no-console
|
||
|
|
||
|
export const logger = {
|
||
|
info(...args: Parameters<typeof console.log>) {
|
||
|
console.log("[INFO]", ...args);
|
||
|
},
|
||
|
|
||
|
warn(...args: Parameters<typeof console.warn>) {
|
||
|
console.warn("[WARN]", ...args);
|
||
|
},
|
||
|
|
||
|
error(...args: Parameters<typeof console.error>) {
|
||
|
console.error("[ERROR]", ...args);
|
||
|
},
|
||
|
|
||
|
debug(...args: Parameters<typeof console.log>) {
|
||
|
console.log("[DEBUG]", ...args);
|
||
|
},
|
||
|
|
||
|
log(...args: Parameters<typeof console.log>) {
|
||
|
console.log(...args);
|
||
|
},
|
||
|
};
|