Common Logging 2.0 API Reference

TraceLogger.IsLevelEnabled Method

Determines if the given log level is currently enabled. checks Switch if UseTraceSource is true.

[Visual Basic]
Protected Overrides Sub IsLevelEnabled( _
   ByVal level As LogLevel _
)
[C#]
protected override bool IsLevelEnabled(
   LogLevel level
);

See Also

TraceLogger Class | Common.Logging.Simple Namespace