PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Log4Net Namespace/Log4Net­Logging­Type­Source Class/Log4Net­Logging­Type­Source Methods/Log4Net­Logging­Type­Source.​Is­Backend­Enabled Method

Log4NetLoggingTypeSource.IsBackendEnabled Method

Checks whether logging is enabled in the back-end for the given level.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Log4Net
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Log4Net (in PostSharp.Patterns.Diagnostics.Backends.Log4Net.dll) Version: 6.6.11.0 (6.6.11.0)
Syntax
C#
protected override bool IsBackendEnabled(
	LogLevel level
)

Parameters

level
Type: PostSharp.Patterns.Diagnostics.LogLevel

Return Value

Type: Boolean
Remarks

The result of this method is cached. To invalidate the cache, call the Refresh() method.

See Also