amaran-light-cli
Version:
Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.
17 lines • 685 B
TypeScript
/**
* Returns a formatted ISO timestamp in gray brackets: [2025-10-26T14:30:00.000Z]
*/
export declare function getTimestamp(): string;
/**
* Overrides global console.log and console.error to prepend timestamps.
*/
export declare function enableGlobalTimestamps(): void;
/**
* Logs a message with a timestamp (legacy, now handled by global console).
*/
export declare function logWithTimestamp(message: string, color?: (msg: string) => string): void;
/**
* Logs an error message with a timestamp (legacy, now handled by global console).
*/
export declare function errorWithTimestamp(message: string, color?: (msg: string) => string): void;
//# sourceMappingURL=logging.d.ts.map