diff --git a/src/plugin-macros.h.in b/src/plugin-macros.h.in index 822cb385..2523d4d4 100644 --- a/src/plugin-macros.h.in +++ b/src/plugin-macros.h.in @@ -22,6 +22,8 @@ with this program. If not, see #include #define blog(level, msg, ...) blog(level, "[obs-websocket] " msg, ##__VA_ARGS__) +#define blog_debug(msg, ...) if (IsDebugEnabled()) blog(LOG_INFO, "[obs-websocket] [debug] " msg, ##__VA_ARGS__) + #define OBS_WEBSOCKET_VERSION "@OBS_WEBSOCKET_VERSION@" #define OBS_WEBSOCKET_RPC_VERSION @OBS_WEBSOCKET_RPC_VERSION@