Log a message using WARNING level.
Parameters
The required message to log.
Log a message using WARNING level with associated exception information.
Parameters
The exception associated with log message.
The message to log (optional). If not supplied it will be empty.