Share via


ConsoleFormatterOptions.TimestampFormat Property

Definition

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

public:
 property System::String ^ TimestampFormat { System::String ^ get(); void set(System::String ^ value); };
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