PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Common­Logging Namespace / Common­Logging­Logging­Type­Source Class / Common­Logging­Logging­Type­Source Methods

CommonLoggingLoggingTypeSource Methods

The CommonLoggingLoggingTypeSource type exposes the following members.

Protected methodClone
Returns a deep clone of the current object.
(Inherited from LoggingTypeSource.)
Protected methodIsBackendEnabled
Checks whether logging is enabled in the back-end for the given level.
(Overrides LoggingTypeSource.IsBackendEnabled(LogLevel).)
Public methodIsEnabled
Determines whether logging is enabled for the given LogLevel.
(Inherited from LoggingTypeSource.)
Public methodRefresh
Refreshes the logging level from the back-end from the current node and all children nodes. The back-end-defined logging level is cached for performance reasons.
(Inherited from LoggingTypeSource.)
Public methodSetLevel
Sets the minimal LogLevel for which logging is enabled for the current namespace and type and all children namespaces and types.
(Inherited from LoggingNamespaceSource.)
Public methodToString
Returns a string that represents the current object.
(Inherited from LoggingNamespaceSource.)
See Also