[ox/std] Add oxDebug and oxDebugf, which are oxTrace aliases for debug channel

This commit is contained in:
Gary Talent 2021-03-11 00:35:10 -06:00
parent 2ebce7713d
commit cb6066f81e

View File

@ -141,3 +141,6 @@ void init();
#define oxTrace(ch) ox::trace::TraceStream(__FILE__, __LINE__, ch) #define oxTrace(ch) ox::trace::TraceStream(__FILE__, __LINE__, ch)
#define oxTracef(ch, fmt, ...) ox::trace::TraceStream(__FILE__, __LINE__, ch, ox::detail::fmtSegments<ox::detail::argCount(fmt)+1>(fmt), ##__VA_ARGS__) #define oxTracef(ch, fmt, ...) ox::trace::TraceStream(__FILE__, __LINE__, ch, ox::detail::fmtSegments<ox::detail::argCount(fmt)+1>(fmt), ##__VA_ARGS__)
#define oxDebug() ox::trace::TraceStream(__FILE__, __LINE__, "debug")
#define oxDebugf(fmt, ...) ox::trace::TraceStream(__FILE__, __LINE__, "debug", ox::detail::fmtSegments<ox::detail::argCount(fmt)+1>(fmt), ##__VA_ARGS__)