Class TraceLoggerFactory

An implementation of ILoggerFactory which forward log messages to system diagnostics trace.

Inheritance
System.Object
TraceLoggerFactory
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Logging
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public class TraceLoggerFactory : ILoggerFactory

Constructors

TraceLoggerFactory()

Declaration
public TraceLoggerFactory()

Methods

Create(String)

Creates a ILogger with the provided name.

Declaration
public 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.

Implements

Extension Methods