When `NULL`, a default log message will be generated.