Logging to the console for various AppDelegate states.