If ETL_LOG_ERRORS is defined then the error handler is called before the exception is thrown or the assert is called. ETL_LOG_ERRORS may be used in conjunction with ETL_THROW_EXCEPTIONS or default assert methods. It is not valid for ETL_NO_CHECKS.
Compile time macros control the type and verbosity of the errors to allow space and performance optimisation.