ConsoleLoggerOptions.Format Property

Definition

Caution

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

Gets or sets log message format. Defaults to Default.

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 is Default.

Attributes

Applies to