From a1a3a2eef9b7d316a012b774865f5c41cb4c8599 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 30 Oct 2013 11:37:11 +0800 Subject: [PATCH] add macro to disable the srs_trace --- trunk/src/core/srs_core_log.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trunk/src/core/srs_core_log.hpp b/trunk/src/core/srs_core_log.hpp index d2627f6cf..4ded57019 100755 --- a/trunk/src/core/srs_core_log.hpp +++ b/trunk/src/core/srs_core_log.hpp @@ -82,5 +82,9 @@ extern ILogContext* log_context; #undef srs_info #define srs_info(msg, ...) (void)0 #endif +#if 0 + #undef srs_trace + #define srs_trace(msg, ...) (void)0 +#endif #endif