The external logging sample project demonstrates how to log Sitefinity errors to an external application.