Emits a log message with the specified log level.
The log level of the message.
The log message to emit.