Common Logging 2.0 API Reference

NoOpLogger.Trace(Action, Exception) Method

Ignores message.

[Visual Basic]
Public NotOverridable Overloads Sub Trace( _
   ByVal formatMessageCallback As Action(Of FormatMessageHandler), _
   ByVal exception As Exception _
) _
    Implements ILog.Trace
[C#]
public void Trace(
   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 trace.

Implements

ILog.Trace

See Also

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