bengeisler / TcLog

Flexible logging functionality for TwinCAT 3.
MIT License
54 stars 10 forks source link

When logging many messages per cycle they do not get persisted to the file system #4

Closed bengeisler closed 1 year ago

bengeisler commented 1 year ago

When logging many messages per cycle, eventually FB_FileClose throws an error. The state machine of DynamicStringBuffer.PersistToFile changes from STATE_APPEND_DATA_TO_FILE (3) to IDLE (0). The opened file does not get closed.

Following up on discussion at #2 .