Added support for logging crashes without crashing.