ILogger<TCategoryName> ILogger<TCategoryName> ILogger<TCategoryName> Interface

Definition

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> : Microsoft.Extensions.Logging.ILogger
type ILogger<'CategoryName> = interface
    interface ILogger
Public Interface ILogger(Of Out TCategoryName)
Implements ILogger
Type Parameters
TCategoryName

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

Derived
Implements

Applies to