UNPKG

bigquery-client

Version:

A feature-rich Node.js client for Google BigQuery with support for CRUD operations, transactions, query building, and advanced features like aggregate functions, pagination, and logging.

14 lines (13 loc) 390 B
import { LogEntry } from '../../types'; export declare class Logger { private logEntries; private readonly maxEntries; private readonly enabled; private readonly level; constructor(enabled?: boolean); log(entry: LogEntry): void; logQuery(query: string, params?: any[]): void; logError(error: Error): void; getLogs(): LogEntry[]; clearLogs(): void; }