Error

ConsoleLogger.Error method

Writes error message to the console. 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