Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Microsoft.Extensions.Logging.Abstractions

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

Microsoft.​Extensions.​Logging

struct 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.
Represents a storage of common scope data.
interface ILogger
Represents a type used to perform logging.
interface ILogger<​TCategoryName>
A generic interface for logging where the category name is derived from the specified <typeparamref name="TCategoryName" /> type name. Generally used to enable activation of a named <see cref="T:Microsoft.Extensions.Logging.ILogger" /> from dependency injection.
interface ILoggerFactory
Represents a type used to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger" /> from the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> s.
interface ILoggerProvider
Represents a type that can create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger" /> .
interface ILoggingBuilder
An interface for configuring logging providers.
Represents a <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> that is able to consume external scope information.
Options for <see cref="M:Microsoft.Extensions.Logging.LoggerMessage.Define(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)" /> and its overloads.
class Logger<​T>
Delegates to a new <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instance using the full name of the given type, created by the provided <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> .
ILogger extension methods for common scenarios.
Default implementation of <see cref="T:Microsoft.Extensions.Logging.IExternalScopeProvider" /> .
ILoggerFactory extension methods for common scenarios.
Creates delegates that can be later cached to log messages in a performant way.
Provides information to guide the production of a strongly typed logging method.
enum LogLevel
Defines logging severity levels.
Defines an alias for <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider" /> implementation to be used in filtering rules.

Microsoft.​Extensions.​Logging.​Abstractions

Represents a buffered log record to be written in batch to an <see cref="T:Microsoft.Extensions.Logging.Abstractions.IBufferedLogger" /> .
interface IBufferedLogger
Represents the ability of a logging provider to support buffered logging.
struct LogEntry<​TState>
Holds the information for a single log entry.
class NullLogger
Minimalistic logger that does nothing.
class NullLogger<​T>
Minimalistic logger that does nothing.
An <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> used to create an instance of <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger" /> that logs nothing.
Provider for the <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger" /> .