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

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

From: nick vajberg <nickvajberg_at_yahoo.dk>
Date: 2005-07-14 19:10:40 CEST

> nick vajberg wrote:
> > 3) API reflects log levels. This increases
> > readability.
> >
> > Based on log4j (which works well, IMO):
> >
> > [...]
>
> Yuck! How is that any more readable than:
>
> svn_log(int level, svn_logger* logger, const char*
> message);

I did provide that option in the previous post. Just
as the Java API does provide a generic function, as an
option.

If personally find the level-named functions more
readable (and I have plowed through some serious
amounts of code using log4j both ways.)

However, if svn decides to use a single generic
function, that would be fine with me.

>>There is really no justification for
>>seperate functions,

The designers of the Java API, log4c, log4Perl,
LuaLogging appears to disagree with you.

- -

About the factory: Log-types could some day include

-file
-mail
-console
-sockets
-sql

(which LuaLogging supports today)

---------------------------------------------------------------------
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:12:00 2005

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.