Error

ILogger.Error method

Writes error log message; Error log messages provides 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