Changeset 11e00c8 in mainline
- Timestamp:
- 2011-05-13T18:26:13Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f64e81a
- Parents:
- 852803a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/debug.c
r852803a r11e00c8 116 116 /* 117 117 * Serialize access to log files. 118 * Always print to log file, to screen print only when the enabled 119 * log level is high enough. 118 * Print to screen only messages with higher level than the one 119 * specified during logging initialization. 120 * Print also to file, to it print one more (lower) level as well. 120 121 */ 121 122 fibril_mutex_lock(&log_serializer); … … 123 124 const char *level_name = log_level_name(level); 124 125 125 if ( log_stream != NULL) {126 if ((log_stream != NULL) && (level <= log_level + 1)) { 126 127 va_start(args, format); 127 128
Note:
See TracChangeset
for help on using the changeset viewer.