How to diagnose random restarts

restart

My Macbook Air is randomly restarting — a real problem when I have it set up to give a presentation, and walk to the stage to find it back at the login screen. How can I diagnose the cause?

Best Answer

Console.app located in Applications/Utilities will display the logs of the system. Inspecting might point you to the reason of the reboots.