Constructors

Properties

batchSeparator?: string

String separator to use between SQL statements (e.g., 'GO' for SQL Server)

description?: string

Optional description or notes for this logging configuration

filterByUserId?: string

Email address to filter SQL statements by user (when filtering is enabled)

formatAsMigration?: boolean

Whether to format SQL output as a database migration file with proper headers

logRecordChangeMetadata?: boolean

Whether to include metadata about record changes in the log output

prettyPrint?: boolean

Whether to format SQL with proper indentation and line breaks

retainEmptyLogFiles?: boolean

Whether to keep log files even if they contain no SQL statements

sessionName?: string

Human-readable name for the logging session

statementTypes?: "queries" | "mutations" | "both"

Types of SQL statements to capture: 'queries', 'mutations', or 'both'