vbox的更動 66274 路徑 trunk/include/iprt/log.h
- 時間撮記:
- 2017-3-28 上午12:19:45 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/iprt/log.h
r62896 r66274 1664 1664 #endif 1665 1665 1666 /** @def LogRelFlowThisFunc 1667 * The same as LogRelFlowFunc but for class functions (methods): the resulting 1668 * log line is additionally prepended with a hex value of |this| pointer. 1669 */ 1670 #ifdef LOG_USE_C99 1671 # define LogRelFlowThisFunc(a) \ 1672 _LogRelIt(RTLOGGRPFLAGS_FLOW, LOG_GROUP, "{%p} " LOG_FN_FMT ": %M", this, __PRETTY_FUNCTION__, _LogRemoveParentheseis a ) 1673 #else 1674 # define LogRelFlowThisFunc(a) do { LogRelFlow(("{%p} " LOG_FN_FMT ": ", this, __PRETTY_FUNCTION__)); LogRelFlow(a); } while (0) 1675 #endif 1676 1677 1678 /** Shortcut to |LogRelFlowFunc ("ENTER\n")|, marks the beginnig of the function. */ 1679 #define LogRelFlowFuncEnter() LogRelFlowFunc(("ENTER\n")) 1680 1681 /** Shortcut to |LogRelFlowFunc ("LEAVE\n")|, marks the end of the function. */ 1682 #define LogRelFlowFuncLeave() LogRelFlowFunc(("LEAVE\n")) 1683 1684 /** Shortcut to |LogRelFlowFunc ("LEAVE: %Rrc\n")|, marks the end of the function. */ 1685 #define LogRelFlowFuncLeaveRC(rc) LogRelFlowFunc(("LEAVE: %Rrc\n", (rc))) 1686 1687 /** Shortcut to |LogRelFlowThisFunc ("ENTER\n")|, marks the beginnig of the function. */ 1688 #define LogRelFlowThisFuncEnter() LogRelFlowThisFunc(("ENTER\n")) 1689 1690 /** Shortcut to |LogRelFlowThisFunc ("LEAVE\n")|, marks the end of the function. */ 1691 #define LogRelFlowThisFuncLeave() LogRelFlowThisFunc(("LEAVE\n")) 1692 1666 1693 /** @} */ 1667 1694
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器