From cb6066f81e54ac63debb3795c931e9b8500e3618 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 11 Mar 2021 00:35:10 -0600 Subject: [PATCH] [ox/std] Add oxDebug and oxDebugf, which are oxTrace aliases for debug channel --- deps/ox/src/ox/std/trace.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/ox/src/ox/std/trace.hpp b/deps/ox/src/ox/std/trace.hpp index 88fe9a84..17fabe37 100644 --- a/deps/ox/src/ox/std/trace.hpp +++ b/deps/ox/src/ox/std/trace.hpp @@ -141,3 +141,6 @@ void init(); #define oxTrace(ch) ox::trace::TraceStream(__FILE__, __LINE__, ch) #define oxTracef(ch, fmt, ...) ox::trace::TraceStream(__FILE__, __LINE__, ch, ox::detail::fmtSegments(fmt), ##__VA_ARGS__) + +#define oxDebug() ox::trace::TraceStream(__FILE__, __LINE__, "debug") +#define oxDebugf(fmt, ...) ox::trace::TraceStream(__FILE__, __LINE__, "debug", ox::detail::fmtSegments(fmt), ##__VA_ARGS__)