Common Logging 2.0 API Reference

CommonLoggingTraceListener.TraceEvent(TraceEventCache, String, TraceEventType, Int32, String, Object) Method

Writes message to logger provided by GetLogger

[Visual Basic]
Public Overrides Overloads Sub TraceEvent( _
   ByVal eventCache As TraceEventCache, _
   ByVal source As String, _
   ByVal eventType As TraceEventType, _
   ByVal id As Integer, _
   ByVal message As String, _
   ParamArray args As Object _
)
[C#]
public override void TraceEvent(
   TraceEventCache eventCache,
   string source,
   TraceEventType eventType,
   int id,
   string message,
   params object[] args
);

See Also

CommonLoggingTraceListener Class | Common.Logging.Simple Namespace | CommonLoggingTraceListener.TraceEvent Overload List