Delen via


Microsoft.Extensions.Logging.Console Namespace

Contains classes and abstractions for configuring Microsoft.Extensions.Logging.Console.ConsoleLogger.

Classes

ConfigurationConsoleLoggerSettings

Settings for a Microsoft.Extensions.Logging.Console.ConsoleLogger.

ConsoleFormatter

Allows custom log messages formatting

ConsoleFormatterNames

Reserved formatter names for the built-in console formatters.

ConsoleFormatterOptions

Options for the built-in console log formatter.

ConsoleLoggerOptions

Options for a Microsoft.Extensions.Logging.Console.ConsoleLogger.

ConsoleLoggerProvider

A provider of Microsoft.Extensions.Logging.Console.ConsoleLogger instances.

ConsoleLoggerSettings

This type is retained only for compatibility. The recommended alternative is ConsoleLoggerOptions.

JsonConsoleFormatterOptions

Options for the built-in json console log formatter.

SimpleConsoleFormatterOptions

Options for the built-in default console log formatter.

Interfaces

IConsoleLoggerSettings

This type is retained only for compatibility. The recommended alternative is ConsoleLoggerOptions.

Enums

ConsoleLoggerFormat

Format of Microsoft.Extensions.Logging.Console.ConsoleLogger messages.

ConsoleLoggerQueueFullMode

Determines the console logger behavior when the queue becomes full.

LoggerColorBehavior

Determines when to use color when logging messages.