Class TraceSourceLoggerFactory

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

Inheritance
System.Object
TraceSourceLoggerFactory
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 TraceSourceLoggerFactory : ILoggerFactory

Constructors

TraceSourceLoggerFactory()

Declaration
public TraceSourceLoggerFactory()

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