Hi,

I finally got into a situation I needed to control ErrorHandling in LogKit so 
I went ahead and implemented it. LogTargets that are interested in delegating 
ErrorHandling now have to implement 

public interface ErrorAware
{
    void setErrorHandler( ErrorHandler errorHandler );
}

Couldn't think of a better name ;)

I added in a new base class AbstractTarget that implement basic functionality 
(open/close/errorhandling) required by almost all log targets. I adapted all 
the existing LogTargets to work with this system.

In theory everything should work (all the unit tests run) and there hasn't 
been any backwards compatability broken as far as I am aware ...

-- 
Cheers,

Pete

------------------------------------
The two secrets to success:
   1- Don't tell anyone everything.
------------------------------------

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

Reply via email to