Hierarchy Constructor (ILoggerFactory) | Apache log4net™ SDK Documentation

Construct with a logger factory

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public Hierarchy(
    	ILoggerFactory loggerFactory
    )

    Public Sub New (
    	loggerFactory As ILoggerFactory
    )

    public:
    Hierarchy(
    	ILoggerFactory^ loggerFactory
    )

    new :
            loggerFactory : ILoggerFactory -> Hierarchy

#### Parameters

loggerFactory
  Type: log4net.Repository.Hierarchy
  ILoggerFactory
  The factory to use to create new logger instances.

Remarks

Initializes a new instance of the Hierarchy class with the specified ILoggerFactory.

See Also

#### Reference

Hierarchy Class
Hierarchy Overload
log4net.Repository.Hierarchy Namespace