Skip to content

Commit

Permalink
fix: update to latest main and fix compile/merge issue
Browse files Browse the repository at this point in the history
Signed-off-by: James Chapman <[email protected]>
  • Loading branch information
james-ctc committed Oct 1, 2024
1 parent 1576d17 commit 8f4430c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/include/everest/logging.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,13 @@ class UTestLogger {
#define EVLOG_warning UTestLogger(std::cout, "Warning: ", __FILE__, __LINE__)
#define EVLOG_info UTestLogger(std::cout, "Info: ", __FILE__, __LINE__)
#define EVLOG_debug UTestLogger(std::cout, "Debug: ", __FILE__, __LINE__)
} // namespace
#define EVLOG_AND_THROW(ex) \
do { \
try { \
throw ex; \
} catch (std::exception & e) { \
EVLOG_error << e.what(); \
throw; \
} \
} while (0)
} // namespace

0 comments on commit 8f4430c

Please sign in to comment.