Changeset e0c836e8 in mainline for uspace/lib/c/include/io/log.h
- Timestamp:
- 2012-09-07T08:29:43Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42bde6a
- Parents:
- 70253688
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/log.h
r70253688 re0c836e8 39 39 #include <io/verify.h> 40 40 41 /** Log message level. */ 41 42 typedef enum { 43 /** Fatal error, program is not able to recover at all. */ 42 44 LVL_FATAL, 45 /** Serious error but the program can recover from it. */ 43 46 LVL_ERROR, 47 /** Easily recoverable problem. */ 44 48 LVL_WARN, 49 /** Information message that ought to be printed by default. */ 45 50 LVL_NOTE, 51 /** Debugging purpose message. */ 46 52 LVL_DEBUG, 53 /** More detailed debugging message. */ 47 54 LVL_DEBUG2, 48 55 … … 51 58 } log_level_t; 52 59 60 /** Log itself (logging target). */ 53 61 typedef sysarg_t log_t; 62 /** Formatting directive for printing log_t. */ 54 63 #define PRIlogctx PRIxn 64 65 /** Default log (target). */ 55 66 #define LOG_DEFAULT ((log_t) -1) 67 68 /** Use when creating new top-level log. */ 56 69 #define LOG_NO_PARENT ((log_t) 0) 57 70
Note:
See TracChangeset
for help on using the changeset viewer.