Rewrites logger uses callbacks to obtain values to log writes to hdf5, which is scalable and flexible