/** * console.log() wrapper. * Logging is enabled in dev mode only. */ export declare namespace DevLogger { /** * Returns true if logging is enabled. * (For now, DevLogger logging is enabled if the app is running in dev mode.) */ function isLoggable(): boolean; /** * Logs the message if the app is running in dev mode. * Uses console.log(). * * @param message log message string or object. */ function log(message: string): any; function log(message: string, sub1: (any | null)): any; function log(message: string, sub1: (any | null), sub2: (any | null)): any; function log(obj0: any): any; function log(obj0: any, obj1: (any | null)): any; function log(obj0: any, obj1: (any | null), obj2: (any | null)): any; /** * Logs the message if the app is running in dev mode. * Uses console.info(). * * @param message info message string or object. */ function info(message: string): any; function info(message: string, sub1: (any | null)): any; function info(message: string, sub1: (any | null), sub2: (any | null)): any; function info(obj0: any): any; function info(obj0: any, obj1: (any | null)): any; function info(obj0: any, obj1: (any | null), obj2: (any | null)): any; /** * Logs the warning message using console.warn(). * * @param message warn message string or object. */ function warn(message: string): any; function warn(message: string, sub1: (any | null)): any; function warn(message: string, sub1: (any | null), sub2: (any | null)): any; function warn(obj0: any): any; function warn(obj0: any, obj1: (any | null)): any; function warn(obj0: any, obj1: (any | null), obj2: (any | null)): any; /** * Logs the error message using console.error(). * * @param message error message string or object. */ function error(message: string): any; function error(message: string, sub1: (any | null)): any; function error(message: string, sub1: (any | null), sub2: (any | null)): any; function error(obj0: any): any; function error(obj0: any, obj1: (any | null)): any; function error(obj0: any, obj1: (any | null), obj2: (any | null)): any; }