Table of Contents

Class Logger<T>

Namespace
Microsoft.Extensions.Logging
Assembly
Microsoft.Extensions.Logging.Abstractions.dll

Delegates to a new ILogger instance using the full name of the given type, created by the provided ILoggerFactory.

public class Logger<T> : ILogger<T>, ILogger

Type Parameters

T

The type.

Inheritance
Logger<T>
Implements
Inherited Members
Extension Methods

Constructors

Logger(ILoggerFactory)

Creates a new Logger<T>.

public Logger(ILoggerFactory factory)

Parameters

factory ILoggerFactory

The factory.