ConsoleFormatterOptions.UseUtcTimestamp Property


Gets or sets indication whether or not UTC timezone should be used to for timestamps in logging messages. Defaults to false.

 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 to use UTC timezone; false otherwise.

Applies to