XMMS2
Functions
xmmsc-glib.h File Reference
#include "xmmsc/xmmsc_idnumbers.h"

Functions

void xmmsc_log_glib_handler (const char *, xmmsc_log_level_t, const char *, void *)
 Convert xmmsc_log-messages to g_log-messages. More...
 

Function Documentation

void xmmsc_log_glib_handler ( const char *  domain,
xmmsc_log_level_t  level,
const char *  msg,
void *  unused 
)

Convert xmmsc_log-messages to g_log-messages.

Uses the same domain and the following log_level correspondence: unknown -> critical, fatal -> error, fail -> critical, error -> warning, info -> message, debug -> debug.

See Also
xmmsc_log_handler_set

Referenced by xmms_log_init().