Re: DefaultLogTargetManager and closing of targets
Peter Donald <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 17 Dec 2002 03:20, Leo Sutic wrote: > The only way of doing it appears to be by testing if a log target > is an instanceof AbstractLogTarget and then invoke close() on it. yep. > Anyone having a better idea? Previously I did it via reflection (look for close() method and call that if present) so maybe thats another option. -- Cheers, Peter Donald *------------------------------------* | God has no religion - Gandhi | *------------------------------------*