<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.2" />

Microsoft.Extensions.Logging

Namespace with 16 public types

Classes

 LogDefineOptions Options for and its overloads.
 Logger`1 Delegates to a new instance using the full name of the given type, created by the provided .
 LoggerExternalScopeProvider Default implementation of .
 LoggerMessageAttribute Provides information to guide the production of a strongly typed logging method.

Structures

 EventId Identifies a logging event. The primary identifier is the "Id" property, with the "Name" property providing a short description of this type of event.

Enumerations

 LogLevel Defines logging severity levels.

Static Classes

 LoggerExtensions ILogger extension methods for common scenarios.
 LoggerFactoryExtensions ILoggerFactory extension methods for common scenarios.
 LoggerMessage Creates delegates that can be later cached to log messages in a performant way.

Interfaces

 IExternalScopeProvider Represents a storage of common scope data.
 ILogger Represents a type used to perform logging.
 ILogger`1 A generic interface for logging where the category name is derived from the specified type name. Generally used to enable activation of a named from dependency injection.
 ILoggerFactory Represents a type used to configure the logging system and create instances of from the registered s.
 ILoggerProvider Represents a type that can create instances of .
 ILoggingBuilder An interface for configuring logging providers.
 ISupportExternalScope Represents a that is able to consume external scope information.