Skip to main content

Module log

Module log 

Source
Expand description

Reading messages out of FIX logs.

Loggers write a timestamp, a direction or a session before each message, and other output between them.

20261103-09:30:01.123: 8=FIX.4.4|9=...|10=123|
2026-11-03 09:30:01,124 INFO  [fix-session] Received: 8=FIX.4.4|9=...|10=045|
2026-11-03 09:30:05,002 WARN  Heartbeat timeout, sending TestRequest
2026-11-03 09:30:05,003 INFO  [fix-session] Sent: 8=FIX.4.4|9=...|10=210|

A LogReader keeps these bytes as the prefix of each LogRecord. Here the last record’s prefix holds the WARN line and its own line up to 8=.

Structs§

LogReader
Reads the messages in a FIX log from incrementally fed bytes.
LogRecord
A message read from a log, with the bytes before it.

Enums§

LogDiagnostic
A problem a LogReader found with a record.