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

Log4NetLoggingBackendOptions.GetLogger Property

GetLogger

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

Declaration
public Func<Log4NetLoggingTypeSource, ILog> GetLogger { get; set; }
Property Value
Type Description
System.Func<Log4NetLoggingTypeSource, log4net.ILog>