Writes a message to the appropiated logger.
The log level to use to determine if the message should be output.
The logger to use to output the message.
The message to output.
Writes a message to the appropiated logger.