Changes in uspace/lib/drv/include/ddf/log.h [163bc23:aa492fe] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/log.h
r163bc23 raa492fe 37 37 #include <io/verify.h> 38 38 39 extern int ddf_log_init(const char * );39 extern int ddf_log_init(const char *, log_level_t); 40 40 extern void ddf_msg(log_level_t, const char *, ...) 41 41 PRINTF_ATTRIBUTE(2, 3); … … 44 44 size_t); 45 45 46 #define ddf_log_fatal(msg...) ddf_msg(LVL_FATAL, msg)47 #define ddf_log_error(msg...) ddf_msg(LVL_ERROR, msg)48 #define ddf_log_warning(msg...) ddf_msg(LVL_WARN, msg)49 #define ddf_log_note(msg...) ddf_msg(LVL_NOTE, msg)50 #define ddf_log_debug(msg...) ddf_msg(LVL_DEBUG, msg)51 #define ddf_log_verbose(msg...) ddf_msg(LVL_DEBUG2, msg)52 53 46 #endif 54 47
Note:
See TracChangeset
for help on using the changeset viewer.