Common Logging 2.0 API Reference

EntLibLogger.CreateLogEntry Method

Creates a minimal log entry instance that will be passed into ShouldLog to asap decide, whether this event should be logged.

[Visual Basic]
Protected Overridable Sub CreateLogEntry( _
   ByVal traceEventType As TraceEventType _
)
[C#]
protected virtual LogEntry CreateLogEntry(
   TraceEventType traceEventType
);

Parameters

traceEventType
trace event severity.

Return Value

See Also

EntLibLogger Class | Common.Logging.EntLib Namespace