With the addition of support for headless devices, it became apparent that we needed a means for capturing details about unexpected errors. It is not always feasible to run applications under a debugger, and not all error conditions occur with the consistency that makes them easy to diagnose. To help address this, the error log was created. While the error log is typically most useful for headless devices, it is available for all devices running .NET Compact Framework version 2 service pack 1. 
Read more here