UNPKG

@webarray/esphome-native-api

Version:

TypeScript/Node.js client for ESPHome native API with encryption and deep sleep support

15 lines 587 B
/** * Logger utility for ESPHome Native API * Supports both debug package and custom loggers (e.g., Homey) */ import { Logger } from '../types'; /** * Create a logger function that uses either a custom logger or the debug package */ export declare function createLogger(namespace: string, customLogger?: Logger): (message: string, ...args: any[]) => void; /** * Set up global debug logging redirect * Useful when you want to redirect all debug output */ export declare function setupGlobalLogger(logFunction: (message: string) => void): void; //# sourceMappingURL=logger.d.ts.map