Interface ILoggerFactory

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Represents a factory that can be used to create new ILogger instances.

Namespace: EPiServer.Logging
Assembly: EPiServer.Framework.dll
Version: 8.11.0
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.