Mir
Macros
uncaught.h File Reference
#include <boost/exception/diagnostic_information.hpp>
#include "mir/log.h"
Include dependency graph for uncaught.h:

Go to the source code of this file.

Macros

#define MIR_LOG_UNCAUGHT_EXCEPTION(ex)
 
#define MIR_LOG_DRIVER_BOUNDARY_EXCEPTION(ex)
 

Macro Definition Documentation

#define MIR_LOG_DRIVER_BOUNDARY_EXCEPTION (   ex)
Value:
{ \
mir::log_error("Caught exception at Mir/EGL driver boundary (in %s): %s", \
__FUNCTION__, boost::diagnostic_information(ex).c_str()); }
#define MIR_LOG_UNCAUGHT_EXCEPTION (   ex)
Value:
{ \
mir::log_error("Caught exception at client library boundary (in %s): %s", \
__FUNCTION__, boost::diagnostic_information(ex).c_str()); }

Copyright © 2012-2016 Canonical Ltd.
Generated on Wed Oct 11 22:26:23 UTC 2017