Table of Contents

Interface ILogger<TCategoryName>

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

A generic interface for logging where the category name is derived from the specified TCategoryName type name. Generally used to enable activation of a named ILogger from dependency injection.

public interface ILogger<out TCategoryName> : ILogger

Type Parameters

TCategoryName

The type who's name is used for the logger category name.

Inherited Members
Extension Methods