What is about this interface?
```
namespace ipp
{
CV_EXPORTS void logFailure(int ippStatus, const char * const funcname, const char * const filename, int line);
CV_EXPORTS bool resetFailures();
CV_EXPORTS bool isAnyFailures();
CV_EXPORTS String getFailureLog();
#define CV_IPP_LOGFAILURE_(ippStatus) cv::ipp::logFailure(ippStatus, CV_Func, __FILE__, __LINE__)
#define CV_IPP_LOGFAILURE() cv::ipp::logFailure(ippStsErr, CV_Func, __FILE__, __LINE__)
}
```