ConsoleLoggerOptions.TimestampFormat Egenskap

Definition

Varning

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

Hämtar eller anger den formatsträng som används för att formatera tidsstämpel i loggningsmeddelanden.

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

Egenskapsvärde

Standardvärdet är null.

Attribut

Gäller för