magichome-platform
Version:
discover, control, and receive status for magichome devices
16 lines • 615 B
TypeScript
/**
* Simple console logging class
* Params: logLevel: number
* Level on a scale from 1-5. 5 being the most verbose, 1 being the least.
*/
export declare class Logs {
private readonly logLevel;
constructor(logLevel?: number);
trace(message: string, ...parameters: any[]): void;
debug(message: string, ...parameters: any[]): void;
info(message: string, ...parameters: any[]): void;
warn(message: string, ...parameters: any[]): void;
error(message: string, ...parameters: any[]): void;
}
export declare function getLogs(): Logs;
//# sourceMappingURL=logger.d.ts.map