Error

ConsoleLogger.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 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