Interface ILoggerFactory

Represents a factory that can be used to create new ILogger instances.

Namespace: EPiServer.Logging
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public interface ILoggerFactory
Remarks

If implemented, register through LogManager.Instance.AddProvider to activate.

Methods

Create(String)

Creates a ILogger with the provided name.

Declaration
ILogger Create(string name)
Parameters
Type Name Description
System.String name

The name of the logger to create.

Returns
Type Description
ILogger

An ILogger instance with the provided name.

Extension Methods