<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0-preview.7.24405.7" />

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<[System.Runtime.CompilerServices.Nullable(2)] out TCategoryName> : ILogger { } }