Kaydet (Commit) b6f6c3a2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Conditionalize call of ne_debug_init() using the SAL_INFO() mechanism

Instead of #if OSL_DEBUG_LEVEL>0.

Change-Id: I2329de4deff4687fb1249c47f2e24eaf6ea6a248
üst 5d4bff48
...@@ -695,20 +695,20 @@ void NeonSession::Init() ...@@ -695,20 +695,20 @@ void NeonSession::Init()
// #122205# - libxml2 needs to be initialized once if used by // #122205# - libxml2 needs to be initialized once if used by
// multithreaded programs like OOo. // multithreaded programs like OOo.
xmlInitParser(); xmlInitParser();
#if OSL_DEBUG_LEVEL > 0
// for more debug flags see ne_utils.h; NE_DEBUGGING must be defined // for more debug flags see ne_utils.h; NE_DEBUGGING must be defined
// while compiling neon in order to actually activate neon debug // while compiling neon in order to actually activate neon debug
// output. // output.
ne_debug_init( stderr, NE_DBG_FLUSH SAL_INFO("ucb.ucp.webdav", "Turning on Neon debug output (if enabled when building Neon)" <<
| NE_DBG_HTTP (ne_debug_init( stderr, NE_DBG_FLUSH
// | NE_DBG_HTTPBODY | NE_DBG_HTTP
// | NE_DBG_HTTPAUTH // | NE_DBG_HTTPBODY
// | NE_DBG_XML // | NE_DBG_HTTPAUTH
// | NE_DBG_XMLPARSE // | NE_DBG_XML
| NE_DBG_LOCKS // | NE_DBG_XMLPARSE
| NE_DBG_SSL | NE_DBG_LOCKS
); | NE_DBG_SSL
#endif ), ""));
m_bGlobalsInited = true; m_bGlobalsInited = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment