PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Enterprise­Library Namespace/Enterprise­Library­Logging­Type­Source Class

EnterpriseLibraryLoggingTypeSource Class

Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
    PostSharp.Patterns.Diagnostics.LoggingTypeSource
      PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary.EnterpriseLibraryLoggingTypeSource

Namespace:  PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary
Assembly:  PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary (in PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary.dll) Version: 6.3.8.0 (6.3.8.0)
Syntax
C#
public class EnterpriseLibraryLoggingTypeSource : LoggingTypeSource

The EnterpriseLibraryLoggingTypeSource type exposes the following members.

Constructors
  NameDescription
Public methodEnterpriseLibraryLoggingTypeSource
Initializes a new EnterpriseLibraryLoggingTypeSource.
Properties
  NameDescription
Public propertyBackend (Inherited from LoggingNamespaceSource.)
Public propertyCategories
Gets or sets the collection that will be assigned to the Categories() property of the LogEntry class. Unless the GetCategories option has been changed, this property caches the result of the GetCategories() method.
Public propertyDisplayFullName (Inherited from LoggingNamespaceSource.)
Public propertyDisplayName (Inherited from LoggingNamespaceSource.)
Public propertyFullName (Inherited from LoggingNamespaceSource.)
Public propertyGenericParameterCount (Inherited from LoggingTypeSource.)
Public propertyLevel (Inherited from LoggingNamespaceSource.)
Public propertyName (Inherited from LoggingNamespaceSource.)
Public propertyOptions (Inherited from LoggingTypeSource.)
Public propertyParent (Inherited from LoggingNamespaceSource.)
Public propertyRole (Inherited from LoggingNamespaceSource.)
Public propertySourceType (Inherited from LoggingTypeSource.)
Methods
  NameDescription
Protected methodClone (Inherited from LoggingTypeSource.)
Public methodGetCategories
Returns a list of strings composed that are used to populate the Categories property, unless the GetCategories function has been overwritten. The default behavior of GetCategories() is to return the current role, the full name of the current type, and the full name of all parent namespaces.
Protected methodIsBackendEnabled (Overrides LoggingTypeSource.IsBackendEnabled(LogLevel).)
Public methodIsEnabled (Inherited from LoggingTypeSource.)
Public methodRefresh (Inherited from LoggingTypeSource.)
Public methodSetLevel (Inherited from LoggingNamespaceSource.)
See Also