Microsoft.Extensions.Logging Namespace¶
-
namespace
Microsoft.Extensions.Logging¶ Interfaces
- interface
IFilterLoggerSettings - Filter settings for messages logged by an
Microsoft.Extensions.Logging.ILogger. - interface
ILogger - Represents a type used to perform logging.
- interface
ILoggerFactory - Represents a type used to configure the logging system and create instances of
Microsoft.Extensions.Logging.ILoggerfrom the registeredMicrosoft.Extensions.Logging.ILoggerProviders. - interface
ILoggerProvider - Represents a type that can create instances of
Microsoft.Extensions.Logging.ILogger. - interface
ILogger<TCategoryName> - A generic interface for logging where the category name is derived from the specified
<em>TCategoryName</em> type name.
Generally used to enable activation of a named
Microsoft.Extensions.Logging.ILoggerfrom dependency injection.
Enumerations
- enum
LogLevel - Defines logging severity levels.
Classes
- class
ConsoleLoggerExtensions - class
DebugLoggerFactoryExtensions - Extension methods for the
Microsoft.Extensions.Logging.ILoggerFactoryclass. - class
EventLoggerFactoryExtensions - Extension methods for the
Microsoft.Extensions.Logging.ILoggerFactoryclass. - class
FilterLoggerFactoryExtensions Microsoft.Extensions.Logging.ILoggerFactoryextension methods which provide a common way to filter log messages across all registeredMicrosoft.Extensions.Logging.ILoggerProviders.- class
FilterLoggerSettings - Filter settings for messages logged by an
Microsoft.Extensions.Logging.ILogger. - class
LoggerExtensions - ILogger extension methods for common scenarios.
- class
LoggerFactory - Summary description for LoggerFactory
- class
LoggerFactoryExtensions - ILoggerFactory extension methods for common scenarios.
- class
LoggerMessage - Creates delegates which can be later cached to log messages in a performant way.
- class
Logger<T> - Delegates to a new
Microsoft.Extensions.Logging.ILoggerinstance using the full name of the given type, created by the providedMicrosoft.Extensions.Logging.ILoggerFactory. - class
TraceSourceFactoryExtensions
Structures
- struct
EventId
- interface