VirtualBox

Changeset 21648 in vbox for trunk/include


Ignore:
Timestamp:
Jul 16, 2009 1:42:11 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50181
Message:

iprt/log: added LogRelFlowFunc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/log.h

    r21550 r21648  
    923923#define LogRelFlow(a)      LogRelIt(LOG_REL_INSTANCE, RTLOGGRPFLAGS_FLOW,     LOG_GROUP, a)
    924924
     925/** @def LogRelFlowFunc
     926 * Release logging.  Macro to log the execution flow inside C/C++ functions.
     927 *
     928 * Prepends the given log message with the function name followed by
     929 * a semicolon and space.
     930 *
     931 * @param   a   Log message in format <tt>("string\n" [, args])</tt>.
     932 */
     933# define LogRelFlowFunc(a) \
     934    do { LogRelFlow((LOG_FN_FMT ": ", __PRETTY_FUNCTION__)); LogRelFlow(a); } while (0)
     935
    925936/** @def LogRelFunc
    926937 * Release logging.  Prepends the given log message with the function name
Note: See TracChangeset for help on using the changeset viewer.

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