Otter SDK Reference
Version:

LogWarning(ILogger logger, string message) Method

Logs the specified message with a warning log level.

Syntax

public static void LogWarning(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).