On Wed, 5 Mar 2003 00:36, Leo Sutic wrote:
> > Why can't a central manager component who tracks all targets do
> > the closing?
>
> Well, let's turn the question around: Why should we force that pattern
> on the developer? The idea of having wrappers working like the
> InputStream wrappers is because Java developers will understand how
> it works as it is similar to patterns established by InputStream etc.
>
> I'm sure that you can solve it with a central manager component, but
> why make that the only pattern?

Mainly as it is the pattern for the rest of the LogTargets. You need 
centralized management to know when you can validly close them etc. as they 
could also be shared. 

That said feel free to add an optional closing param to ctor :)

-- 
Cheers,

Peter Donald
--------------------------------
My opinions may have changed, 
but not the fact that I am right
-------------------------------- 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to