benilla-re systems structs docs

s_logStampTick

global · storm

Address
0xc5a174 · 4 bytes, up to 0xc5a177
Type
uint32_t
Meaning
Holds the GetTickCount value of the last log time stamp
Confidence
verified, proof one
Finding
storm/log#writing-a-log-line

Finding: Writing a log line in storm: text logs

SLogVWrite(id, format, args) finds the record, opens its file if it has to, and builds the line in the buffer: the time stamp, the indent, the text from vsprintf, and "\r\n". The stamp is "%u/%u %02u:%02u:%02u.%03u " of month, day, hour, minute, second and millisecond from GetLocalTime, made again only when GetTickCount has changed since the last stamp of any log. The indent is +0x11c spaces, at most 128. Storm option 5 sends the line to OutputDebugStringA. A buffer at 0xc000 bytes or more is flushed. Nothing bounds the text: a line that carries the position past 0x10000 writes past the record.

The derivation is in the doc.