PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Microsoft Namespace/Microsoft­Logging­Backend­Options Class/Microsoft­Logging­Backend­Options Properties/Microsoft­Logging­Backend­Options.​Get­Logger­Name Property

MicrosoftLoggingBackendOptions.GetLoggerName Property

Gets a function that returns a category name (used as an argument to the CreateLogger(String) method) given a MicrosoftLoggingTypeSource. The default behavior is to return the DisplayFullName of the type source.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Microsoft (in PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public Func<MicrosoftLoggingTypeSource, string> GetLoggerName { get; set; }

Property Value

Type: Func<MicrosoftLoggingTypeSource, String>
See Also