mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 13:35:00 +00:00
default to the same as SU_DEBUG define for log level
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6724 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
276ebb64a6
commit
6787c09682
@ -567,12 +567,16 @@ static int m_get_domain(char *d, int n, sres_message_t *m, uint16_t offset);
|
|||||||
extern char const SRESOLV_DEBUG[]; /* dummy declaration for Doxygen */
|
extern char const SRESOLV_DEBUG[]; /* dummy declaration for Doxygen */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SU_DEBUG
|
||||||
|
#define SU_DEBUG 3
|
||||||
|
#endif
|
||||||
|
|
||||||
/**Debug log for @b sresolv module.
|
/**Debug log for @b sresolv module.
|
||||||
*
|
*
|
||||||
* The sresolv_log is the log object used by @b sresolv module. The level of
|
* The sresolv_log is the log object used by @b sresolv module. The level of
|
||||||
* #sresolv_log is set using #SRESOLV_DEBUG environment variable.
|
* #sresolv_log is set using #SRESOLV_DEBUG environment variable.
|
||||||
*/
|
*/
|
||||||
su_log_t sresolv_log[] = { SU_LOG_INIT("sresolv", "SRESOLV_DEBUG", 3) };
|
su_log_t sresolv_log[] = { SU_LOG_INIT("sresolv", "SRESOLV_DEBUG", SU_DEBUG) };
|
||||||
|
|
||||||
/** Internal errors */
|
/** Internal errors */
|
||||||
enum {
|
enum {
|
||||||
|
@ -74,8 +74,12 @@
|
|||||||
static char const __func__[] = "stun";
|
static char const __func__[] = "stun";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SU_DEBUG
|
||||||
|
#define SU_DEBUG 3
|
||||||
|
#endif
|
||||||
|
|
||||||
/** STUN log. */
|
/** STUN log. */
|
||||||
su_log_t stun_log[] = { SU_LOG_INIT("stun", "STUN_DEBUG", 3) };
|
su_log_t stun_log[] = { SU_LOG_INIT("stun", "STUN_DEBUG", SU_DEBUG) };
|
||||||
|
|
||||||
/**@var STUN_DEBUG
|
/**@var STUN_DEBUG
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user