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

Re: libsvn_repos logging APIs (was Re: Proposal for Logging in Svnserve)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-14 19:10:24 CEST

On Jul 14, 2005, at 11:59 AM, John Peacock wrote:
>
> svn_log(DEBUG, logger, message);
> svn_log(INFO, logger, message);
> svn_log(WARN, logger, message);
> svn_log(ERROR, logger, message);
> svn_log(FATAL, logger, message);
>
> The log level is an *variable* of logging API, not a top level
> object. There is really no justification for seperate functions,
> since they should all be using the same lower level code. If you
> really like your signatures, there could always be syntactic sugar
> #define's.

Agreed, this is how apache logging API does it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 14 19:11:16 2005

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