#ifndef CFG_LOGGING_H
#define CFG_LOGGING_H
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef int (*cfg_logfunc)(int degree, const char *format, va_list args);
int ws_cfg_log(int degree, const char *format, ...);
void ws_cfg_set_logfunc(cfg_logfunc func);
#ifdef __cplusplus
}
#endif
#endif