diff options
author | Vadim Revyakin <vadimr@intel.com> | 2006-12-25 12:30:15 +0000 |
---|---|---|
committer | Vadim Revyakin <vadimr@intel.com> | 2006-12-25 12:30:15 +0000 |
commit | a6d4308d6efa9a9a6749365b224b9e3f07a3ce19 (patch) | |
tree | 3db9a3b36381a526349a9846e123dc1d5f076277 /src | |
parent | 5d824408df27f3d94f3827138111a37bfab5a3c4 (diff) | |
download | wsmancli-a6d4308d6efa9a9a6749365b224b9e3f07a3ce19.tar.gz wsmancli-a6d4308d6efa9a9a6749365b224b9e3f07a3ce19.tar.xz wsmancli-a6d4308d6efa9a9a6749365b224b9e3f07a3ce19.zip |
library provides standard debug handler
Diffstat (limited to 'src')
-rw-r--r-- | src/wsman.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wsman.c b/src/wsman.c index cc01f9c..840cd85 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -52,6 +52,7 @@ #include "wsman-client-api.h" #include "wsman-client-transport.h" #include "wsman-client-options.h" +#include "wsman-debug.h" static void @@ -75,7 +76,7 @@ wsman_output(WsXmlDocH doc) return; } - +/* static void debug_message_handler(const char *str, debug_level_e level, void *user_data) { @@ -90,11 +91,11 @@ debug_message_handler(const char *str, debug_level_e level, void *user_data) fprintf(stderr, "%s %s\n", timestr, str); } } - +*/ static void initialize_logging(void) { - debug_add_handler(debug_message_handler, DEBUG_LEVEL_ALWAYS, NULL); + debug_add_handler(wsman_debug_message_handler, DEBUG_LEVEL_ALWAYS, NULL); } |