Error

FileLogger.Error method

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

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

Exceptions

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

See Also