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

TraceLoggingTypeSource Methods

The TraceLoggingTypeSource type exposes the following members.

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