UNPKG

saltfish

Version:

An interactive video-guided tour system for web applications

35 lines 1.21 kB
/** * Logging utility for the Saltfish playlist Player */ /** * Log a message to the console if logging is enabled * @param message - The message to log * @param data - Optional data to log */ export declare function log(message: string, data?: any): void; /** * Log important information that should be visible in production * Uses console.info which is preserved in production builds * @param message - The information message to log * @param data - Optional data to log */ export declare function info(message: string, data?: any): void; /** * Log a warning to the console if logging is enabled * @param message - The warning message to log * @param data - Optional data to log */ export declare function warn(message: string, data?: any): void; /** * Log an error to the console (always enabled) * @param message - The error message to log * @param data - Optional data to log */ export declare function error(message: string, data?: any): void; /** * Log debugging information if logging is enabled * @param message - The debug message to log * @param data - Optional data to log */ export declare function debug(message: string, data?: any): void; //# sourceMappingURL=logger.d.ts.map