telegram-purple/msglog.h
2014-10-03 14:23:15 +02:00

15 lines
397 B
C

#include <stdarg.h>
/**
* Set a custom logging callback to use instead of regular printing
* to stdout
*/
void set_log_cb(void (*cb)(const char*, va_list ap));
void hexdump (int *in_ptr, int *in_end);
void debug(const char* format, ...);
void info(const char* format, ...);
void warning(const char* format, ...);
void failure(const char* format, ...);
void fatal(const char* format, ...);