Udostępnij przez


ConsoleLoggerOptions.UseUtcTimestamp Właściwość

Definicja

Przestroga

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

Pobiera lub ustawia wartość wskazującą, czy strefa czasowa UTC powinna być używana do obsługi sygnatur czasowych w komunikatach rejestrowania.

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

Wartość właściwości

true do korzystania ze strefy czasowej UTC; false Inaczej. Wartość domyślna to false.

Atrybuty

Dotyczy