homebridge-config-ui-x
Version:
A web based management, configuration and control platform for Homebridge.
17 lines (16 loc) • 447 B
TypeScript
import type { WriteStream } from 'node:fs';
export interface LoggerHost {
action: string;
logFile?: WriteStream | NodeJS.WriteStream;
}
export declare class Logger {
private readonly hbService;
constructor(hbService: LoggerHost);
log(msg: string): void;
success(msg: string): void;
error(msg: string): void;
warn(msg: string): void;
debug(msg: string): void;
verbose(msg: string): void;
private _log;
}