<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.2" />
Microsoft.Extensions.Logging.ILogger
Represents a type used to perform logging.
namespace Microsoft.
Extensions.
Logging
{
public interface ILogger
{
void Log<
TState>(
LogLevel logLevel,
EventId eventId,
TState state,
Exception exception,
Func<
TState,
Exception,
string>
formatter);
bool IsEnabled(
LogLevel logLevel);
IDisposable BeginScope<
TState>(
TState state);
}
}