2 * Ugly, low performance, configurable level, logging "framework"
18 int ugly_init(int maximum_threshold);
19 int ugly_log(int level, const char *tag, const char *format, ...);
21 #define DLOG(format, args...) ugly_log(UDEBUG, __FILE__, format, ## args)
22 #define ILOG(format, args...) ugly_log(UINFO, __FILE__, format, ## args)
23 #define WLOG(format, args...) ugly_log(UWARN, __FILE__, format, ## args)
24 #define ELOG(format, args...) ugly_log(UERROR, __FILE__, format, ## args)
25 #define fatal(format, args...) ugly_log(UFATAL, __FILE__, format, ## args)
31 #endif /* UGLYLOGGING_H */