In This Article

LoggerFactory Class

Defines a default implementation of ILoggerFactory and manages access to the default instance of ILoggerFactory to be used for logging.

public sealed class LoggerFactory : ILoggerFactory, IDisposable
Inheritance:
object object
Implements:
ILoggerFactory IDisposable

Properties

DefaultInstance

Gets or sets the default instance of ILoggerFactory to be used.

public static ILoggerFactory DefaultInstance { get; set; }

Property Value

ILoggerFactory:

An instance of ILoggerFactory.

Methods

Dispose()

Disposes the object and removes references to all loggers.

public void Dispose()

Inherited Members

Extension Methods