ILoggerFactory Interface | Apache log4net™ SDK Documentation

Interface abstracts creation of Logger instances

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

C#
VB
C++
F#
Copy

    public interface ILoggerFactory

    Public Interface ILoggerFactory

    public interface class ILoggerFactory

    type ILoggerFactory =  interface end

The ILoggerFactory type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| CreateLogger | Create a new Logger instance

Top
Remarks

This interface is used by the Hierarchy to create new Logger objects.

The CreateLogger(ILoggerRepository, String) method is called to create a named Logger.

Implement this interface to create new subclasses of Logger.

See Also

#### Reference

log4net.Repository.Hierarchy Namespace