-
Notifications
You must be signed in to change notification settings - Fork 0
56b71999 191e 7414 7a9d b0a368db3c5b
Axel Kesseler edited this page Mar 1, 2023
·
18 revisions
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
C#
private void AddTime(
StringBuilder builder,
DateTime time,
char split
)
- 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.
The timestamp is added if ShowTime is set to true.
RawFormatter Class
Plexdata.LogWriter.Internals.Formatters Namespace
ILoggerSettings.ShowTime
RawFormatter.ToOutput(String, Char)