Changeset 21953 in vbox for trunk/include
- Timestamp:
- Aug 4, 2009 11:23:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/log.h
r21794 r21953 856 856 # if defined(LOG_USE_C99) 857 857 # define _LogRelRemoveParentheseis(...) __VA_ARGS__ 858 # define _LogRelIt(pvInst, fFlags, iGroup, ...) RTLogLoggerEx((PRTLOGGER)pvInst, fFlags, iGroup, __VA_ARGS__) 859 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) \ 858 # define _LogRelIt(pvInst, fFlags, iGroup, ...) \ 860 859 do \ 861 860 { \ 862 861 PRTLOGGER LogRelIt_pLogger = (PRTLOGGER)(pvInst) ? (PRTLOGGER)(pvInst) : RTLogRelDefaultInstance(); \ 863 862 if (LogRelIt_pLogger) \ 864 _LogRelIt(LogRelIt_pLogger, fFlags, iGroup, _LogRelRemoveParentheseis fmtargs); \865 LogIt(LOG_INSTANCE, fFlags, iGroup, fmtargs); \863 RTLogLoggerEx(LogRelIt_pLogger, fFlags, iGroup, __VA_ARGS__); \ 864 _LogIt(LOG_INSTANCE, fFlags, iGroup, __VA_ARGS__); \ 866 865 } while (0) 866 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) _LogRelIt(pvInst, fFlags, iGroup, _LogRelRemoveParentheseis fmtargs) 867 867 # else 868 868 # define LogRelIt(pvInst, fFlags, iGroup, fmtargs) \ … … 930 930 # define LogRelFunc(a) \ 931 931 _LogRelIt(LOG_REL_INSTANCE, RTLOGGRPFLAGS_LEVEL_1, LOG_GROUP, LOG_FN_FMT ": %M", __PRETTY_FUNCTION__, _LogRemoveParentheseis a ) 932 # define LogFunc(a) \ 933 _LogIt(LOG_INSTANCE, RTLOGGRPFLAGS_LEVEL_1, LOG_GROUP, LOG_FN_FMT ": %M", __PRETTY_FUNCTION__, _LogRemoveParentheseis a ) 932 934 #else 933 935 # define LogRelFunc(a) \
Note:
See TracChangeset
for help on using the changeset viewer.