Microsoft.Extensions.Logging Namespace

Classes

AzureAppServicesLoggerFactoryExtensions

Extension methods for adding Azure diagnostics logger.

ConsoleLoggerExtensions
DebugLoggerFactoryExtensions

Extension methods for the ILoggerFactory class.

EventLoggerFactoryExtensions

Extension methods for the ILoggerFactory class.

EventSourceLoggerFactoryExtensions

Extension methods for the ILoggerFactory class.

FilterLoggerFactoryExtensions

ILoggerFactory extension methods which provide a common way to filter log messages across all registered ILoggerProviders.

FilterLoggerSettings

Filter settings for messages logged by an ILogger.

FilterLoggingBuilderExtensions

Extension methods for setting up logging services in an IServiceCollection.

Logger<T>

Delegates to a new ILogger instance using the full name of the given type, created by the provided ILoggerFactory.

LoggerExtensions

ILogger extension methods for common scenarios.

LoggerFactory

Summary description for LoggerFactory

LoggerFactoryExtensions

ILoggerFactory extension methods for common scenarios.

LoggerFilterOptions
LoggerFilterRule

Defines a rule used to filter log messages

LoggerMessage

Creates delegates which can be later cached to log messages in a performant way.

LoggingBuilderExtensions

Extension methods for setting up logging services in an ILoggingBuilder.

ProviderAliasAttribute

Defines alias for ILoggerProvider implementation to be used in filtering rules.

TraceSourceFactoryExtensions

Structs

EventId

Interfaces

IFilterLoggerSettings

Filter settings for messages logged by an ILogger.

ILogger

Represents a type used to perform logging.

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.

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.

ILoggingBuilder

An interface for configuring logging providers.

Enums

LogLevel

Defines logging severity levels.