Skip to content

285d7cd2 7ba7 24ac 070f 0649545936a3

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

ILoggerSettings.TimeFormat Property

Gets and sets the time format to be used.

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

Syntax

C#

string TimeFormat { get; set; }

Property Value

Type: String
Any date and time format that is valid for method ToString(String).

Remarks

The time format string is used to define how a timestamp has to look. As default value an adaptation of the standard ISO format is used.

In case of GELF messages, this property is ignored because the timestamp field uses UNIX epoch time format.

See Also

Reference

ILoggerSettings Interface
Plexdata.LogWriter.Abstraction Namespace

Clone this wiki locally