Add Event logging in Json
Log each internal and external event of batsim in a file (one event per line in Json object). Each simulation can be logged like this: a good example of this is Spark application logging.
Advantages:
- It can lead to an easier checkpoint restart.
- Permits the creation of interactive visualization with step by step and details on each events of the simulation.