Commit 95c7dd75 authored by Dominik Charousset's avatar Dominik Charousset

Log all messages when using CAF_MESSAGE

parent 4297828b
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
#include "caf/fwd.hpp" #include "caf/fwd.hpp"
#include "caf/term.hpp" #include "caf/term.hpp"
#include "caf/logger.hpp"
#include "caf/optional.hpp" #include "caf/optional.hpp"
#include "caf/deep_to_string.hpp" #include "caf/deep_to_string.hpp"
namespace caf { namespace caf {
...@@ -529,7 +529,9 @@ using caf_test_case_auto_fixture = caf::test::dummy_fixture; ...@@ -529,7 +529,9 @@ using caf_test_case_auto_fixture = caf::test::dummy_fixture;
// -- Convenience macros ------------------------------------------------------- // -- Convenience macros -------------------------------------------------------
#define CAF_MESSAGE(msg) CAF_TEST_PRINT_VERBOSE(msg) #define CAF_MESSAGE(msg) \
CAF_LOG_INFO(msg); \
CAF_TEST_PRINT_VERBOSE(msg)
// -- CAF_CHECK* predicate family ---------------------------------------------- // -- CAF_CHECK* predicate family ----------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment