Changeset 46392 in vbox for trunk/include/iprt
- Timestamp:
- Jun 5, 2013 11:19:54 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/log.h
r44528 r46392 706 706 #endif 707 707 708 /** @def Log4Func 709 * Level 4 logging inside C/C++ functions. 710 * 711 * Prepends the given log message with the function name followed by a 712 * semicolon and space. 713 * 714 * @param a Log message in format <tt>("string\n" [, args])</tt>. 715 */ 716 #ifdef LOG_USE_C99 717 # define Log4Func(a) \ 718 _LogIt(LOG_INSTANCE, RTLOGGRPFLAGS_LEVEL_4, LOG_GROUP, LOG_FN_FMT ": %M", __PRETTY_FUNCTION__, _LogRemoveParentheseis a ) 719 #else 720 # define Log4Func(a) \ 721 do { Log((LOG_FN_FMT ": ", __PRETTY_FUNCTION__)); Log(a); } while (0) 722 #endif 723 708 724 /** @def LogThisFunc 709 725 * The same as LogFunc but for class functions (methods): the resulting log
Note:
See TracChangeset
for help on using the changeset viewer.