23 lines
589 B
TypeScript
23 lines
589 B
TypeScript
export class Logger {
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
debug(): void {}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
static create(): void {}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
static destroy(): void {}
|
|
|
|
static getInstance(): Logger {
|
|
return logger;
|
|
}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
info(): void {}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
error(): void {}
|
|
}
|
|
|
|
const logger = new Logger();
|