PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Type­Source Class/Logging­Type­Source Methods

LoggingTypeSource Methods

The LoggingTypeSource type exposes the following members.

Methods
  NameDescription
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.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also