When using the CLI, we read `stdout` and save that as the "log" of the simulation. However, when using the C-API, we currrently only get error codes (and messages).