Changeset 8953 in vbox for trunk/include/iprt/log.h
- Timestamp:
- May 20, 2008 1:55:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/log.h
r8663 r8953 446 446 } \ 447 447 } while (0) 448 # define LogItAlways(pvInst, fFlags, fmtargs) \ 449 do \ 450 { \ 451 register PRTLOGGER LogIt_pLogger = (PRTLOGGER)(pvInst) ? (PRTLOGGER)(pvInst) : RTLogDefaultInstance(); \ 452 if (LogIt_pLogger) \ 453 { \ 454 LogIt_pLogger->pfnLogger fmtargs; \ 455 } \ 456 } while (0) 448 457 # endif 449 458 #else 450 459 # define LogIt(pvInst, fFlags, iGroup, fmtargs) do { } while (0) 460 # define LogItAlways(pvInst, fFlags, fmtargs) do { } while (0) 451 461 # if defined(LOG_USE_C99) 452 462 # define _LogRemoveParentheseis(...) __VA_ARGS__ … … 455 465 #endif 456 466 467 468 /** @def Log 469 * Level 1 logging that works regardless of the group settings (used for ring-0 assertion logging) 470 */ 471 #define LogAlways(a) LogItAlways(LOG_INSTANCE, RTLOGGRPFLAGS_LEVEL_1, a) 457 472 458 473 /** @def Log
Note:
See TracChangeset
for help on using the changeset viewer.