Methods
log
- log(level: "log" | "info" | "warn", message: any, queryRunner?: QueryRunner): any
-
Parameters
-
level: "log" | "info" | "warn"
-
message: any
-
Returns any
logMigration
- logMigration(message: string, queryRunner?: QueryRunner): any
logQuery
- logQuery(query: string, parameters?: any[], queryRunner?: QueryRunner): any
-
Parameters
-
query: string
-
Optional parameters: any[]
-
Returns any
logQueryError
- logQueryError(error: string, query: string, parameters?: any[], queryRunner?: QueryRunner): any
-
Parameters
-
error: string
-
query: string
-
Optional parameters: any[]
-
Returns any
logQuerySlow
- logQuerySlow(time: number, query: string, parameters?: any[], queryRunner?: QueryRunner): any
-
Parameters
-
time: number
-
query: string
-
Optional parameters: any[]
-
Returns any
logSchemaBuild
- logSchemaBuild(message: string, queryRunner?: QueryRunner): any
Performs logging of the events in TypeORM.