Include the current log level in the log callback function.