Common Logging 2.0 API Reference

NoOpLogger.Warn(Action, Exception) Method

Ignores message.

[Visual Basic]
Public NotOverridable Overloads Sub Warn( _
   ByVal formatMessageCallback As Action(Of FormatMessageHandler), _
   ByVal exception As Exception _
) _
    Implements ILog.Warn
[C#]
public void Warn(
   Action<FormatMessageHandlerformatMessageCallback,
   Exception exception
);

Parameters

formatMessageCallback
A callback used by the logger to obtain the message if log level is matched
exception
The exception to log, including its stack Warn.

Implements

ILog.Warn

See Also

NoOpLogger Class | Common.Logging.Simple Namespace | NoOpLogger.Warn Overload List