Error

ILogger.Error method

Writes an error message. Error log messages provide information about unrecoverable events in application flow.

public void Error(string message, Exception exception)
Parameter Type Description
message String The error message.
exception Exception The exception.

Exceptions

exception condition
ArgumentNullException Thrown when message is null.
ArgumentNullException Thrown when exception is null.

See Also