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

LoggingTypeSource Methods

The LoggingTypeSource type exposes the following members.

Protected methodClone
Returns a deep clone of the current object.
(Overrides LoggingNamespaceSource.Clone(String).)
Protected methodIsBackendEnabled
Checks whether logging is enabled in the back-end for the given level.
Public methodIsEnabled
Determines whether logging is enabled for the given LogLevel.
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.
(Overrides LoggingNamespaceSource.Refresh().)
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.)
See Also