ConsoleFormatterOptions.UseUtcTimestamp 属性

定义

获取或设置一个值,该值指示是否应使用 UTC 时区设置日志记录消息中的时间戳的格式。

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

属性值

默认值为 false

适用于