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.10.10.0 (6.10.10.0)
C#
public Func<MicrosoftLoggingTypeSource, string> GetLoggerName { get; set; }