Function: logSql()
logSql(
sql:string,args: readonlyunknown[],logger?:Logger):void
Logs SQL statements and arguments using a logger.
Parameters
| Parameter | Type | Description |
|---|---|---|
sql | string | The SQL statement to log. |
args | readonly unknown[] | The optional arguments to log. |
logger? | Logger | The logger instance to use. |
Returns
void