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

Log4NetLoggingBackendOptions.GetLogger Property

Function that returns a Log4Net ILog for a given Log4NetLoggingTypeSource. The default implementation is to call LogManager.GetLogger( backend.Repository.Name, typeSource.DisplayFullName ).

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

Property Value

Type: Func<Log4NetLoggingTypeSource, ILog>
See Also