C# Class Patterns.Autofac.Logging.LoggingModule

Provides packaged registration instructions for the Patterns.Logging namespace.
Inheritance: Autofac.Module
Show file Open project: patterns-group/code-patterns

Public Properties

Property Type Description
DefaultLogFactory ILog>.Func

Public Methods

Method Description
LoggingModule ( ) : System

Initializes a new instance of the LoggingModule class.

Protected Methods

Method Description
AttachToComponentRegistration ( IComponentRegistry componentRegistry, IComponentRegistration registration ) : void
Load ( ContainerBuilder builder ) : void
LoggingModule ( ILog>.Func logFactory ) : System

Method Details

AttachToComponentRegistration() protected method

protected AttachToComponentRegistration ( IComponentRegistry componentRegistry, IComponentRegistration registration ) : void
componentRegistry IComponentRegistry
registration IComponentRegistration
return void

Load() protected method

protected Load ( ContainerBuilder builder ) : void
builder Autofac.ContainerBuilder
return void

LoggingModule() public method

Initializes a new instance of the LoggingModule class.
public LoggingModule ( ) : System
return System

LoggingModule() protected method

protected LoggingModule ( ILog>.Func logFactory ) : System
logFactory ILog>.Func
return System

Property Details

DefaultLogFactory public static property

The default log factory.
public static Func DefaultLogFactory
return ILog>.Func