RE: libsvn_repos logging APIs (was Re: Proposal for Logging in Svnserve)
From: nick vajberg <nickvajberg_at_yahoo.dk>
Date: 2005-07-14 18:35:01 CEST
> On Jul 13, 2005, at 10:29 AM, nick vajberg wrote:
Some thoughts:
1) A factory would be nice, hence hiding whether the
I.e:
svn_logger* logger = svn_logger_get(const char*
Subsequent log calls would use this baton (which
This factory call *could* dynamically load logger
2) For files: must be able to open the log in
E.g:
svn_logger_get("file", mode_append);
3) API reflects log levels. This increases
Based on log4j (which works well, IMO):
svn_log_debug(svn_logger* logger, const char*
...as well as a generic one:
svn_log(svn_logger* logger, const char* message, int
---------------------------------------------------------------------
|
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.