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