On Saturday 16 July 2005 10:51, Ben Collins-Sussman wrote:
[snip]
> I don't think we necessarily have contradictory goals here, I think
> we're just thinking at different levels.
>
> It sounds like you're advocating a completely generic system for any
> process or library to write data to a logfile, anywhere, anytime.
Yes.
> I'm advocating a system designed around a particular use-case: most
> logging is related to a repository, so write an API tailored to that
> problem.
>
> I don't think these are contradictory goals. For example, we could
> implement your generic "logger" object, have it output to an
> svn_stream_t, and make it available to all libraries/processes in
> libsvn_subr. Meanwhile, my repos-centric logging API could use
> "logger" objects under the hood. (In other words, an svn_repos_t
> would contain private logger objects for each of its errorlog and
> accesslog.) Both goals are now achieved.
Sounds good to me. :-) I just wanted to be sure that the generic "logger"
object was available for other uses (and I think that's what John Peacock was
after too).
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 16 17:03:08 2005