EnterpriseLibraryLoggingBackendOptions.GetCategories Property |
Function that maps an EnterpriseLibraryLoggingTypeSource to a set of strings
that will be assigned to the Categories() property of log entries (see LogEntry).
The default behavior is to invoke the GetCategories() method, which returns
the role, the name of the EnterpriseLibraryLoggingTypeSource type and the name of all parent LoggingNamespaceSource.
Namespace: PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary
Assembly: PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary (in PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary.dll) Version: 6.5.15.0 (6.5.15.0)
C#
public Func<EnterpriseLibraryLoggingTypeSource, IEnumerable<string>> GetCategories { get; set; }