Namespace Microsoft.Extensions.Logging
Classes
- LoggerExtensions
ILogger extension methods for common scenarios.
- LoggerExternalScopeProvider
Default implemenation of IExternalScopeProvider
- LoggerFactoryExtensions
ILoggerFactory extension methods for common scenarios.
- LoggerMessage
Creates delegates which can be later cached to log messages in a performant way.
- Logger<T>
Delegates to a new ILogger instance using the full name of the given type, created by the provided ILoggerFactory.
Structs
Interfaces
- IExternalScopeProvider
Represents a storage of common scope data.
- ILogger
Represents a type used to perform logging.
- ILoggerFactory
Represents a type used to configure the logging system and create instances of ILogger from the registered ILoggerProviders.
- ILoggerProvider
Represents a type that can create instances of ILogger.
- ILogger<TCategoryName>
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.
- ISupportExternalScope
Represents a ILoggerProvider that is able to consume external scope information.
Enums
- LogLevel
Defines logging severity levels.