Share via


ConsoleLoggerOptions.UseUtcTimestamp Proprietà

Definizione

Attenzione

ConsoleLoggerOptions.UseUtcTimestamp has been deprecated. Use ConsoleFormatterOptions.UseUtcTimestamp instead.

Ottiene o imposta un valore che indica se il fuso orario UTC deve essere utilizzato per i timestamp nei messaggi di registrazione.

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

Valore della proprietà

true per usare il fuso orario UTC; false Altrimenti. Il valore predefinito è false.

Attributi

Si applica a