ConsoleLoggerOptions.TimestampFormat Eigenschaft

Definition

Achtung

ConsoleLoggerOptions.TimestampFormat has been deprecated. Use ConsoleFormatterOptions.TimestampFormat instead.

Ruft die Formatzeichenfolge ab, die zum Formatieren von Zeitstempeln in Protokollierungsmeldungen verwendet wird, oder legt diese fest.

public:
 property System::String ^ TimestampFormat { System::String ^ get(); void set(System::String ^ value); };
[System.Obsolete("ConsoleLoggerOptions.TimestampFormat has been deprecated. Use ConsoleFormatterOptions.TimestampFormat instead.")]
public string? TimestampFormat { get; set; }
[<System.Obsolete("ConsoleLoggerOptions.TimestampFormat has been deprecated. Use ConsoleFormatterOptions.TimestampFormat instead.")>]
member this.TimestampFormat : string with get, set
Public Property TimestampFormat As String

Eigenschaftswert

Der Standardwert lautet null.

Attribute

Gilt für: