Otter SDK Reference
Version:

LogError(ILogger logger, string format, object arg0, object arg1) Method

Logs the specified message with an error log level.

Syntax

public static void LogError(ILogger logger, string format, object arg0, object arg1)

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.

arg1
Type: object

The second argument for the composite format string.

Exceptions

System.ArgumentNullException

logger is null (Nothing in Visual Basic).