zigbee-on-host
Version:
ZigBee stack designed to run on a host and communicate with a radio co-processor (RCP)
9 lines (8 loc) • 416 B
TypeScript
export interface Logger {
debug: (messageOrLambda: () => string, namespace: string) => void;
info: (messageOrLambda: string | (() => string), namespace: string) => void;
warning: (messageOrLambda: string | (() => string), namespace: string) => void;
error: (messageOrLambda: string, namespace: string) => void;
}
export declare let logger: Logger;
export declare function setLogger(l: Logger): void;