Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Ballance <[email protected]>
  • Loading branch information
mballance committed Jul 25, 2024
1 parent bff96f5 commit cb33e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/dmgr/impl/DebugMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
if (m_dbg && m_dbg->en()) m_dbg->leave(fmt, ##__VA_ARGS__)
#define DEBUG(fmt, ...) \
if (m_dbg && m_dbg->en()) m_dbg->debug(fmt, ##__VA_ARGS__)
#define ERROR(fmt, ...) \
#define DEBUG_ERROR(fmt, ...) \
if (m_dbg) m_dbg->error(fmt, ##__VA_ARGS__); else { \
fprintf(stdout, "Error: "); \
fprintf(stdout, fmt, ##__VA_ARGS__); \
fprintf(stdout, "\n"); \
fflush(stdout); }
#define FATAL(fmt, ...) \
#define DEBUG_FATAL(fmt, ...) \
if (m_dbg) m_dbg->fatal(fmt, ##__VA_ARGS__)

#endif

0 comments on commit cb33e45

Please sign in to comment.