A function that can be used to handle log messages.
The message to log.
The log level of the message.
Optional
The context of the log message as key-value pairs.
A function that can be used to handle log messages.