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

◆ MIR_LOG_DRIVER_BOUNDARY_EXCEPTION

#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()); }

◆ MIR_LOG_UNCAUGHT_EXCEPTION

#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-2018 Canonical Ltd.
Generated on Thu Apr 5 15:26:05 UTC 2018