[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1072431 - /subversion/trunk/subversion/include/private/svn_debug.h

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Mon, 21 Feb 2011 17:34:10 +0000

> > * subversion/include/private/svn_debug.h
> > (SVN_DBG): Add a docstring.
[...]
> > +/** Debug aid macro that prints the file:line of the call and printf-like
> > + * arguments to the #SVN_DBG_OUTPUT stdio stream. Typical usage:
> > + *
> > + * <pre>
> > + * SVN_DBG(("path='%s' rev=%ld\n", dirent, revnum));
> > + * </pre>
> > + *
> > + * outputs:
> > + *
> > + * <pre>
> > + * kitchensink.c:42:path='/tmp/svn/wc1/iota' rev=3141592

Doesn't the output start with "DBG:" before the file name?

- Julian

> > + * </pre>
> > + */
> > #define SVN_DBG(ARGS) (svn_dbg__preamble(__FILE__, __LINE__, SVN_DBG_OUTPUT), \
> > svn_dbg__printf ARGS)
Received on 2011-02-21 18:34:55 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.