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,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015