Go to the documentation of this file. 19 #ifndef MIR_CLIENT_API_HELPERS_H_ 20 #define MIR_CLIENT_API_HELPERS_H_ 22 #include <boost/exception/diagnostic_information.hpp> 26 #define MIR_LOG_UNCAUGHT_EXCEPTION(ex) { \ 27 mir::log_error("Caught exception at client library boundary (in %s): %s", \ 28 __FUNCTION__, boost::diagnostic_information(ex).c_str()); } 30 #define MIR_LOG_DRIVER_BOUNDARY_EXCEPTION(ex) { \ 31 mir::log_error("Caught exception at Mir/EGL driver boundary (in %s): %s", \ 32 __FUNCTION__, boost::diagnostic_information(ex).c_str()); } 34 #endif // MIR_CLIENT_API_HELPERS_H_
Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 13:49:26 UTC 2017