SimSharp icon indicating copy to clipboard operation
SimSharp copied to clipboard

Implementation of a "Transaction" entity for storing logs in data objects

Open iustin94 opened this issue 10 months ago • 2 comments

Has it been considered the option of expanding the library so that instead of using directly the logger to a TextWriter, a transaction history could instead be stored in the simulation, which then can be in return used for outputting to the textwriter, or passing the transaction objects to a different client who can then parse it directly, rather than having to process the logger text?

iustin94 avatar Mar 24 '25 13:03 iustin94

I haven't considered such options. Do you have an examplary design? Also, can't you do that in your simulation code, i.e. when your process is active it logs to an object that you know of. What would be the benefit of having it inside the Sim# library?

abeham avatar Mar 25 '25 19:03 abeham

That was my plan :) the benefit would be of including it inside of the library, if it was a case common to use.

iustin94 avatar Apr 03 '25 15:04 iustin94