Changeset 85a4350 in mainline for uspace/lib/drv/generic/log.c
- Timestamp:
- 2012-06-03T15:09:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 652b776
- Parents:
- 840e227 (diff), 3123d2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/log.c
r840e227 r85a4350 33 33 #include <io/log.h> 34 34 #include <stdarg.h> 35 36 35 #include <ddf/log.h> 37 36 38 37 /** Initialize the logging system. 39 38 * 40 * @param drv_name Driver name, will be printed as part of message 41 * @param level Minimum message level to print 39 * @param drv_name Driver name, will be printed as part of message 40 * @param level Minimum message level to print 41 * 42 42 */ 43 43 int ddf_log_init(const char *drv_name, log_level_t level) … … 48 48 /** Log a driver message. 49 49 * 50 * @param level Message verbosity level. Message is only printed 51 * if verbosity is less than or equal to current 52 * reporting level. 53 * @param fmt Format string (no trailing newline) 50 * @param level Message verbosity level. Message is only printed 51 * if verbosity is less than or equal to current 52 * reporting level. 53 * @param fmt Format string (no trailing newline) 54 * 54 55 */ 55 56 void ddf_msg(log_level_t level, const char *fmt, ...) 56 57 { 57 58 va_list args; 58 59 59 60 va_start(args, fmt); 60 61 log_msgv(level, fmt, args);
Note:
See TracChangeset
for help on using the changeset viewer.