Changeset 875 for cpp/common/loggers
- Timestamp:
- 05/06/19 13:14:56 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/loggers/loggertostdout.cpp
r874 r875 5 5 #include "loggertostdout.h" 6 6 #include <common/console.h> 7 #include <assert.h> 7 8 #ifdef SHP 8 9 #include <FBaseSys.h> //AppLog … … 36 37 else 37 38 { 38 if (level < -1) level = -1; else if (level > 3) level = 3; 39 assert((level>=LOG_MIN) && (level<=LOG_MAX)); 40 level = min(LOG_MAX, max(LOG_MIN, level)); 39 41 printf(log_format, log_level[level + 1], obj, method, msg, "\n"); 40 42 }
Note: See TracChangeset
for help on using the changeset viewer.