diff --git a/logging.c b/logging.c index 8719a46..dff11f1 100644 --- a/logging.c +++ b/logging.c @@ -216,6 +216,8 @@ LOG_OpenSystemLog(void) void LOG_SetDebugLevel(int level) { debug_level = level; + if (!DEBUG && level >= DEBUG_LEVEL_PRINT_DEBUG) + LOG(LOGS_WARN, LOGF_Logging, "Not compiled with full debugging support"); } /* ================================================== */