17 #define SMTRAT_LOGGING_ENABLED
18 #include <carl-logging/logging.h>
19 #define SMTRAT_LOG_FATAL(channel, msg) __CARL_LOG_FATAL(channel, msg)
20 #define SMTRAT_LOG_ERROR(channel, msg) __CARL_LOG_ERROR(channel, msg)
21 #define SMTRAT_LOG_WARN(channel, msg) __CARL_LOG_WARN(channel, msg)
22 #define SMTRAT_LOG_INFO(channel, msg) __CARL_LOG_INFO(channel, msg)
23 #define SMTRAT_LOG_DEBUG(channel, msg) __CARL_LOG_DEBUG(channel, msg)
24 #define SMTRAT_LOG_TRACE(channel, msg) __CARL_LOG_TRACE(channel, msg)
26 #define SMTRAT_LOG_FUNC(channel, args) __CARL_LOG_FUNC(channel, args)
27 #define SMTRAT_LOG_ASSERT(channel, condition, msg) __CARL_LOG_ASSERT(channel, condition, msg)
28 #define SMTRAT_LOG_NOTIMPLEMENTED() __CARL_LOG_ERROR("", "Not implemented method-stub called.")
29 #define SMTRAT_LOG_INEFFICIENT() __CARL_LOG_WARN("", "Inefficient method called.")
31 #define SMTRAT_LOG_FATAL(channel, msg) std::cerr << "FATAL " << channel << ": " << msg << std::endl;
32 #define SMTRAT_LOG_ERROR(channel, msg) std::cerr << "ERROR " << channel << ": " << msg << std::endl;
33 #define SMTRAT_LOG_WARN(channel, msg) {}
34 #define SMTRAT_LOG_INFO(channel, msg) {}
35 #define SMTRAT_LOG_DEBUG(channel, msg) {}
36 #define SMTRAT_LOG_TRACE(channel, msg) {}
38 #define SMTRAT_LOG_FUNC(channel, args)
39 #define SMTRAT_LOG_ASSERT(channel, condition, msg) assert(condition)
40 #define SMTRAT_LOG_NOTIMPLEMENTED()
41 #define SMTRAT_LOG_INEFFICIENT()