14 #ifndef T3_WIDGET_LOG_H 15 #define T3_WIDGET_LOG_H 17 #ifndef _T3_WIDGET_INTERNAL 18 #error This header file is for internal use _only_!! 21 #ifdef _T3_WIDGET_DEBUG 27 #include "widget_api.h" 30 #ifdef _T3_WIDGET_DEBUG 32 T3_WIDGET_LOCAL
void init_log(
void);
35 T3_WIDGET_API
void lprintf(
const char *fmt, ...)
37 __attribute__((format(printf, 1, 2)))
40 T3_WIDGET_API
void ldumpstr(
const char *str,
int length);
41 T3_WIDGET_API
void logkeyseq(
const char *keys);
44 #define lprintf(fmt, ...) 45 #define ldumpstr(str, length) 46 #define logkeyseq(keys)