@nodecg/types
Version:
Dynamic broadcast graphics rendered in a browser
23 lines • 696 B
TypeScript
//#region src/types/logger-interface.d.ts
interface LoggerInterface {
name: string;
trace: (...args: any[]) => void;
debug: (...args: any[]) => void;
info: (...args: any[]) => void;
warn: (...args: any[]) => void;
error: (...args: any[]) => void;
replicants: (...args: any[]) => void;
}
declare const LogLevels: readonly ["verbose", "debug", "info", "warn", "error", "silent"];
declare const LogLevel: {
Trace: "verbose";
Debug: "debug";
Info: "info";
Warn: "warn";
Error: "error";
Silent: "silent";
};
type LogLevel = (typeof LogLevels)[number];
//#endregion
export { LogLevels as n, LoggerInterface as r, LogLevel as t };
//# sourceMappingURL=logger-interface.d.ts.map