Κοινή χρήση μέσω


ConsoleLoggerOptions.Format Property

Definition

Caution

ConsoleLoggerOptions.Format has been deprecated. Use ConsoleLoggerOptions.FormatterName instead.

Gets or sets the log message format.

public:
 property Microsoft::Extensions::Logging::Console::ConsoleLoggerFormat Format { Microsoft::Extensions::Logging::Console::ConsoleLoggerFormat get(); void set(Microsoft::Extensions::Logging::Console::ConsoleLoggerFormat value); };
[System.Obsolete("ConsoleLoggerOptions.Format has been deprecated. Use ConsoleLoggerOptions.FormatterName instead.")]
public Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat Format { get; set; }
[<System.Obsolete("ConsoleLoggerOptions.Format has been deprecated. Use ConsoleLoggerOptions.FormatterName instead.")>]
member this.Format : Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat with get, set
Public Property Format As ConsoleLoggerFormat

Property Value

The default value is Default.

Attributes

Applies to