Patched up ExLogEntry to prevent undefined behaviour.