共用方式為


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

Describes the format of Microsoft.Extensions.Logging.Console.ConsoleLogger messages.

ConsoleLoggerQueueFullMode

Describes the console logger behavior when the queue becomes full.

LoggerColorBehavior

Describes when to use color when logging messages.