ConsoleFormatterOptions.UseUtcTimestamp Property

Definition

Gets or sets a value indicating whether or not the UTC time zone should be used for timestamps in logging messages.

public:
 property bool UseUtcTimestamp { bool get(); void set(bool value); };
public bool UseUtcTimestamp { get; set; }
member this.UseUtcTimestamp : bool with get, set
Public Property UseUtcTimestamp As Boolean

Property Value

true if the UTC time zone is used; otherwise false. The default is false.

Applies to