Common Logging 2.0 API Reference

CommonLoggingTraceListener.Log Method

Logs the given message to the Common.Logging infrastructure.

[Visual Basic]
Protected Overridable Sub Log( _
   ByVal eventType As TraceEventType, _
   ByVal source As String, _
   ByVal id As Integer, _
   ByVal format As String, _
   ParamArray args As Object _
)
[C#]
protected virtual void Log(
   TraceEventType eventType,
   string source,
   int id,
   string format,
   params object[] args
);

Parameters

eventType
the eventType
source
the TraceSource name or category name passed into e.g. Write.
id
the id of this event
format
the message format
args
the message arguments

See Also

CommonLoggingTraceListener Class | Common.Logging.Simple Namespace