ConsoleLoggerOptions.UseUtcTimestamp 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
ConsoleLoggerOptions.UseUtcTimestamp has been deprecated. Use ConsoleFormatterOptions.UseUtcTimestamp instead.
取得或設定一個值,指示是否應使用UTC時區來格式化日誌訊息的時間戳。
public:
property bool UseUtcTimestamp { bool get(); void set(bool value); };
[System.Obsolete("ConsoleLoggerOptions.UseUtcTimestamp has been deprecated. Use ConsoleFormatterOptions.UseUtcTimestamp instead.")]
public bool UseUtcTimestamp { get; set; }
[<System.Obsolete("ConsoleLoggerOptions.UseUtcTimestamp has been deprecated. Use ConsoleFormatterOptions.UseUtcTimestamp instead.")>]
member this.UseUtcTimestamp : bool with get, set
Public Property UseUtcTimestamp As Boolean
屬性值
true 是否應該使用UTC時區來格式化時間戳記。 預設值為 false。
- 屬性