<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.0-preview.2.25163.2" />

ILogger<TCategoryName>

public interface ILogger<TCategoryName> : ILogger
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.
using System.Runtime.CompilerServices; namespace Microsoft.Extensions.Logging { public interface ILogger<[Nullable(2)] out TCategoryName> : ILogger { } }