SLogVWrite
function · storm · orchestration
- Address
0x65ac20· 191 bytes, up to0x65acde- Signature
void __stdcall (uint32_t log, const char *format, va_list args)- Meaning
- Writes one stamped, indented line ending in CR LF into a log's buffer, opening its file first
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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.
Callers 1
- SLogWrite storm
Callees 9
- SStrLen storm
- FlushLog storm
- LockLog storm
- UnlockLog storm
- OutputIndent storm
- OutputReturn storm
- OutputTime storm
- PrepareLog storm
- _vsprintf crt
Calls and jumps by a bare address, from tables/calls.tsv.