Skip to main content

Function: logSql()

logSql(sql: string, args: readonly unknown[], logger?: Logger): void

Logs SQL statements and arguments using a logger.

Parameters

ParameterTypeDescription
sqlstringThe SQL statement to log.
argsreadonly unknown[]The optional arguments to log.
logger?LoggerThe logger instance to use.

Returns

void

Defined in

packages/verse-core/src/utils/logging.ts:60