formatTimestamp

Formats the log message's timestamp as a limited ISO-8601 format that's accurate to the millisecond.

string
formatTimestamp
(
SysTime timestamp
,
bool colored
)

Parameters

timestamp SysTime

The timestamp to format.

colored bool

Whether to color the name.

Return Value

Type: string

The formatted timestamp.