Writes an error message to the console.
Error log messages provide information about unrecoverable events in application flow.
Namespace: GroupDocs.Viewer.LoggingAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic void Error(
string message,
Exception exception
)
Public Sub Error (
message As String,
exception As Exception
)
public:
virtual void Error(
String^ message,
Exception^ exception
) sealed
abstract Error :
message : string *
exception : Exception -> unit
override Error :
message : string *
exception : Exception -> unit
Parameters
- message
- Type: SystemString
The error message. - exception
- Type: SystemException
The exception.
Implements
ILoggerError(String, Exception)
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when message is null. |
ArgumentNullException | Thrown when exception is null. |
See Also