UNPKG

490 BTypeScriptView Raw
1/**
2 * Log function to use for debug output. By default, we don't perform any
3 * logging.
4 *
5 * @private
6 * @internal
7 */
8export declare function logger(source: string, msg: string, ...otherArgs: any[]): void;
9/**
10 * Sets or disables the log function for all active BigQuery instances.
11 *
12 * @param logger A log function that takes a message (such as `console.log`) or
13 * `null` to turn off logging.
14 */
15export declare function setLogFunction(logger: ((msg: string) => void) | null): void;