ConsoleFormatterOptions.TimestampFormat Property

Definition

Gets or sets the format string used to format timestamp in logging messages.

public:
 property System::String ^ TimestampFormat { System::String ^ get(); void set(System::String ^ value); };
public string TimestampFormat { get; set; }
public string? TimestampFormat { get; set; }
member this.TimestampFormat : string with get, set
Public Property TimestampFormat As String

Property Value

A string representing the timestamp format. The default is null.

Applies to