8 #include <carl-logging/carl-logging.h>
9 #include <carl-logging/logging-internals.h>
10 #include <carl-common/util/streamingOperators.h>
13 using carl::operator<<;
19 carl::logging::logger().configure(
"stdout", std::cout);
20 carl::logging::logger().filter(
"stdout")
21 (
"benchmax", carl::logging::LogLevel::LVL_INFO)
23 carl::logging::logger().resetFormatter();
30 carl::logging::logger().filter(
"stdout")
31 (
"benchmax", carl::logging::LogLevel::LVL_WARN)
39 carl::logging::logger().filter(
"stdout")
40 (
"benchmax", carl::logging::LogLevel::LVL_DEBUG)
47 #define BENCHMAX_LOG_FATAL(channel, msg) __CARL_LOG_FATAL(channel, msg)
49 #define BENCHMAX_LOG_ERROR(channel, msg) __CARL_LOG_ERROR(channel, msg)
51 #define BENCHMAX_LOG_WARN(channel, msg) __CARL_LOG_WARN(channel, msg)
53 #define BENCHMAX_LOG_INFO(channel, msg) __CARL_LOG_INFO(channel, msg)
55 #define BENCHMAX_LOG_DEBUG(channel, msg) __CARL_LOG_DEBUG(channel, msg)
57 #define BENCHMAX_LOG_TRACE(channel, msg) __CARL_LOG_TRACE(channel, msg)
60 #define BENCHMAX_LOG_FUNC(channel, args) __CARL_LOG_FUNC(channel, args)
62 #define BENCHMAX_LOG_ASSERT(channel, condition, msg) __CARL_LOG_ASSERT(channel, condition, msg)
64 #define BENCHMAX_LOG_NOTIMPLEMENTED() __CARL_LOG_ERROR("", "Not implemented method-stub called.")
66 #define BENCHMAX_LOG_INEFFICIENT() __CARL_LOG_WARN("", "Inefficient method called.")
void logging_verbose()
Configure verbose logging for benchmax.
void logging_quiet()
Configure quiet logging for benchmax.
void logging_configure()
Configure default logging for benchmax.