On Wed, 3 Apr 2002, Geir Magnusson Jr. wrote:
> Date: Wed, 03 Apr 2002 08:46:07 -0500
> From: Geir Magnusson Jr. <[EMAIL PROTECTED]>
> Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> Subject: [logging] Need interface...
>
> So what I propose is to add an interface 'LogUser' or something like it (we
> can quibble about the name...)
>
> public interface LogUser
> {
> public void setCommonsLogger(Log log)
> }
>
I can see why some people might like to have a log setter method like this
(rather than letting the log-using component define its own log name).
What I don't see (yet?) is the value of having this interface defined in
commons-logging itself. Isn't the decision to need/use this made on a
component by component basis anyway? Don't the cooperating components
have to know about it in order to call this method, whether its an
o.a.c.l.LogUser interface or just a public property setter?
> Geir Magnusson Jr. [EMAIL PROTECTED]
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>