a block to log to an hdf5 file