Version:
LogError(ILogger logger, string format, object arg0) Method
Logs the specified message with an error log level.
Syntax
public
static
void LogError(ILogger logger, string format, object arg0)
Parameters
- logger
- Type: ILogger
The logger to use.
- format
- Type: string
The message to log as a composite format string.
- arg0
- Type: object
The first argument for the composite format string.
Exceptions
System.ArgumentNullException
|
logger is null (Nothing in Visual Basic).
|