Partager via


ConsoleLoggerOptions.Format Propriété

Définition

Attention

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

Obtient ou définit le format du message de journal.

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

Valeur de propriété

Par défaut, il s’agit de Default.

Attributs

S’applique à