Skip to content

729edf17 e024 ff8c b04c 7fe211a7abc7

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

XmlFormatter.AddTime Method

The method puts the time into the string builder.

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

Syntax

C#

private void AddTime(
	StringBuilder builder,
	string label,
	DateTime time,
	char split
)

Parameters

 

builder
Type: System.Text.StringBuilder
The string builder to be used.
label
Type: System.String
The value label to be used.
time
Type: System.DateTime
The time stamp to be used.
split
Type: System.Char
The split character is ignored.

Remarks

The timestamp is always added and cannot be disabled, but might be empty. If the timestamp is empty or not is controlled by value of property ShowTime.

See Also

Reference

XmlFormatter Class
Plexdata.LogWriter.Internals.Formatters Namespace
XmlFormatter.ToOutput(String, String, Char)

Clone this wiki locally