Skip to content

56b71999 191e 7414 7a9d b0a368db3c5b

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

RawFormatter.AddTime Method

The method puts the time into the string builder and appends the split character.

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,
	DateTime time,
	char split
)

Parameters

 

builder
Type: System.Text.StringBuilder
The string builder to be used.
time
Type: System.DateTime
The time stamp to be used.
split
Type: System.Char
The split character to be added.

Remarks

The timestamp is added if ShowTime is set to true.

See Also

Reference

RawFormatter Class
Plexdata.LogWriter.Internals.Formatters Namespace
ILoggerSettings.ShowTime
RawFormatter.ToOutput(String, Char)

Clone this wiki locally