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.ILogger
from the registeredMicrosoft.Extensions.Logging.ILoggerProvider
s. - 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.ILogger
from dependency injection.
Enumerations
- enum
LogLevel
- Defines logging severity levels.
Classes
- class
ConsoleLoggerExtensions
- class
DebugLoggerFactoryExtensions
- Extension methods for the
Microsoft.Extensions.Logging.ILoggerFactory
class. - class
EventLoggerFactoryExtensions
- Extension methods for the
Microsoft.Extensions.Logging.ILoggerFactory
class. - class
FilterLoggerFactoryExtensions
Microsoft.Extensions.Logging.ILoggerFactory
extension methods which provide a common way to filter log messages across all registeredMicrosoft.Extensions.Logging.ILoggerProvider
s.- 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.ILogger
instance using the full name of the given type, created by the providedMicrosoft.Extensions.Logging.ILoggerFactory
. - class
TraceSourceFactoryExtensions
Structures
- struct
EventId
- interface