Bagikan melalui


ConsoleLoggerOptions.TimestampFormat Properti

Definisi

Perhatian

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

Mendapatkan atau mengatur string format yang digunakan untuk memformat tanda waktu dalam mencatat pesan.

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

Nilai Properti

Default adalah null.

Atribut

Berlaku untuk