Error_Exception: Add functions to write the exception to the logs.
Error_Exception: Add functions to write the exception to the logs.

This patch adds several functions for writing the exception
to the logs with a full backtrace, including the causes for the exception.

madmatt/saml2,cb8/saml2,sgomez/saml2,ArtemTeleshev/php-saml2,sitya/saml2,newmen/saml2,simplesamlphp/saml2