1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add configure options --log-verbose/info/trace to compile log macros. 0.9.169

This commit is contained in:
winlin 2014-07-23 14:37:54 +08:00
parent fd8c4989f5
commit f562a98602
5 changed files with 71 additions and 4 deletions

View file

@ -134,15 +134,15 @@ extern ISrsThreadContext* _srs_context;
#endif
// TODO: FIXME: add more verbose and info logs.
#if 1
#ifndef SRS_AUTO_VERBOSE
#undef srs_verbose
#define srs_verbose(msg, ...) (void)0
#endif
#if 1
#ifndef SRS_AUTO_INFO
#undef srs_info
#define srs_info(msg, ...) (void)0
#endif
#if 0
#ifndef SRS_AUTO_TRACE
#undef srs_trace
#define srs_trace(msg, ...) (void)0
#endif