PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​MicrosoftMicrosoft­Logging­Backend­OptionsGet­Logger­Name
Open sandboxFocus

MicrosoftLoggingBackendOptions.GetLoggerName Property

GetLoggerName

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.

Declaration
public Func<MicrosoftLoggingTypeSource, string> GetLoggerName { get; set; }
Property Value
Type Description
Func<MicrosoftLoggingTypeSource, String>