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,8 +63,6 @@ static xmpp_mem_t xmpp_default_mem = {
realloc
};
static const char * const xmpp_log_level_name[4] = {"DEBUG", "INFO", "WARN", "ERROR"};
void xmpp_default_logger(void * const userdata,
const xmpp_log_level_t level,
const char * const area,