Common Logging 2.0 API Reference

NoOpLogger.Error(Action) Method

Ignores message.

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

Parameters

formatMessageCallback
A callback used by the logger to obtain the message if log level is matched

Implements

ILog.Error

See Also

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