Skip to content

0b61b95d 2bf9 69a3 8912 b135a4a8548c

Axel Kesseler edited this page Mar 1, 2023 · 18 revisions

LoggerSettings.ShowTime Property

Determines whether the message timestamp is shown or not.

Namespace: Plexdata.LogWriter.Settings
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public bool ShowTime { get; set; }

Property Value

Type: Boolean
True, the message timestamp is visible and false the timestamp is hidden.

Implements

ILoggerSettings.ShowTime

Remarks

Showing the timestamp of a particular message is very useful. But sometimes it is more useful to hide this timestamp. For this purpose this property can be used.

In case of GELF messages, this property allows to enable or disable the usage of the timestamp field, that in fact ends up in the usage of server side or client side timestamps.

See Also

Reference

LoggerSettings Class
Plexdata.LogWriter.Settings Namespace

Clone this wiki locally