Changeset 12128 in vbox for trunk/include/iprt
- Timestamp:
- Sep 5, 2008 12:46:25 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 36081
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/log.h
r11853 r12128 800 800 * Write to specific logger if group enabled. 801 801 */ 802 #if defined(LOG_USE_C99) 803 # define _LogRelRemoveParentheseis(...) __VA_ARGS__ 804 # define _LogRelIt(pvInst, fFlags, iGroup, ...) RTLogLoggerEx((PRTLOGGER)pvInst, fFlags, iGroup, __VA_ARGS__) 805 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) \ 802 #ifndef IN_RING0 803 # if defined(LOG_USE_C99) 804 # define _LogRelRemoveParentheseis(...) __VA_ARGS__ 805 # define _LogRelIt(pvInst, fFlags, iGroup, ...) RTLogLoggerEx((PRTLOGGER)pvInst, fFlags, iGroup, __VA_ARGS__) 806 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) \ 806 807 do \ 807 808 { \ … … 811 812 LogIt(LOG_INSTANCE, fFlags, iGroup, fmtargs); \ 812 813 } while (0) 813 # else814 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) \814 # else 815 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) \ 815 816 do \ 816 817 { \ … … 824 825 LogIt(LOG_INSTANCE, fFlags, iGroup, fmtargs); \ 825 826 } while (0) 826 #endif 827 827 # endif 828 #else 829 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) do { } while (0) 830 # if defined(LOG_USE_C99) 831 # define _LogRelRemoveParentheseis(...) __VA_ARGS__ 832 # define _LogRelIt(pvInst, fFlags, iGroup, ...) do { } while (0) 833 # endif 834 #endif 828 835 829 836 /** @def LogRel
Note:
See TracChangeset
for help on using the changeset viewer.