ProtectedisOptionaltype: Perform logging using given logger, or by default to the console. Log has its own level and message.
OptionalqueryRunner: QueryRunnerLogs events from the migration run process.
OptionalqueryRunner: QueryRunnerLogs query and parameters used in it.
Optionalparameters: any[]OptionalqueryRunner: QueryRunnerLogs query that is failed.
Optionalparameters: any[]OptionalqueryRunner: QueryRunnerLogs query that is slow.
Optionalparameters: any[]OptionalqueryRunner: QueryRunnerLogs events from the schema build process.
OptionalqueryRunner: QueryRunnerProtectedpreparePrepare and format log messages
Optionaloptions: Partial<PrepareLogMessagesOptions>OptionalqueryRunner: QueryRunnerProtectedstringifyConverts parameters to a string. Sometimes parameters can have circular objects and therefor we are handle this case too.
ProtectedwriteWrite log to specific output.
Check is logging for level or message type is enabled.