Added a basic_logging.c which shows how to use the logging stuff. Moved

xmpp_log_level_name into strophe.h for client access.
This commit is contained in:
Jack Moffitt
2005-06-28 21:23:57 +00:00
parent fc351c8106
commit c24df2b5f0
4 changed files with 85 additions and 2 deletions

View File

@@ -63,6 +63,8 @@ typedef enum {
XMPP_LEVEL_ERROR
} xmpp_log_level_t;
static const char * const xmpp_log_level_name[4] = {"DEBUG", "INFO", "WARN", "ERROR"};
typedef enum {
XMPP_UNKNOWN,
XMPP_CLIENT,