PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Common­Logging Namespace / Common­Logging­Logging­Backend­Options Class / Common­Logging­Logging­Backend­Options Properties / Common­Logging­Logging­Backend­Options.​Get­Logger Property

CommonLoggingLoggingBackendOptions.GetLogger Property

Function that returns a Common Logging ILog interface for a given CommonLoggingLoggingTypeSource. The default implementation is to call LogManager.GetLogger( typeSource.DisplayFullName ).

Namespace:  PostSharp.Patterns.Diagnostics.Backends.CommonLogging
Assembly:  PostSharp.Patterns.Diagnostics.Backends.CommonLogging (in PostSharp.Patterns.Diagnostics.Backends.CommonLogging.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
public Func<CommonLoggingLoggingTypeSource, ILog> GetLogger { get; set; }

Property Value

Type: Func<CommonLoggingLoggingTypeSource, ILog>
See Also