VirtualBox

vbox的更動 66274 路徑 trunk/include/iprt/log.h


忽略:
時間撮記:
2017-3-28 上午12:19:45 (8 年 以前)
作者:
vboxsync
訊息:

VBox/Main: ​bugref:3300: VBoxSVC from terminal server session is not 'visible' - added VBoxSDS implementation

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/iprt/log.h

    r62896 r66274  
    16641664#endif
    16651665
     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
    16661693/** @} */
    16671694
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette