class Loggerimport { Logger } from "https://dotland.deno.dev/x/logger@v1.1.7/mod.ts"; Logger class Propertiesprivateoptionaldir: stringprivateencoder: TextEncoderprivaterotate: booleanprivatestdoutprivateoptionalwriter: WriterMethodsprivateformat(...args: unknown[]): Uint8ArrayprivategetDate(): stringprivategetError(): stringprivategetInfo(): stringprivategetNow(): stringprivategetWarn(): stringprivatewrite(unnamed 0: LoggerWriteOptions): Promise<void>disable(type?: "info" | "warn" | "error"): voiddisable a specific type of logger disableConsole(): voidDisable console logger disableFile(): voidDisable file logger enable(type?: "info" | "warn" | "error"): voidEnable a specific type of logger enableConsole(): voidEnable console logger enableFile(): voidEnable file logger error(...args: unknown[]): Promise<void>Log message with error level info(...args: unknown[]): Promise<void>Log message with info level initFileLogger(dir: string, options?: fileLoggerOptions): Promise<void>init file logger warn(...args: unknown[]): Promise<void>Log message with warning level