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