Performs the actual logging logic
The level of the message to log
The domain of the message to log
The content of the message to log