import { SourceLocation, Message } from "./types"; export type LogLevel = "debug" | "verbose" | "info" | "warning" | "error" | "fatal"; export interface LogInfo { level: LogLevel; message: string; /** * Code for the log. * @example -> ["MyPlugin", "CannotDoThat"] -> "MyPlugin/CannotDoThat" */ key?: string[]; /** * Position where this log can be traced to. */ source?: SourceLocation; /** * Additional details. */ details?: any; } export declare class AutorestExtensionLogger { private sendMessage; constructor(sendMessage: (message: Message) => void); debug(message: string): void; verbose(message: string): void; info(message: string): void; warning(message: string, key: string[], source?: SourceLocation, details?: any): void; error(message: string, key: string[], source?: SourceLocation, details?: any): void; fatal(message: string, key: string[], source?: SourceLocation, details?: any): void; log(info: LogInfo): void; } //# sourceMappingURL=extension-logger.d.ts.map