> > > As a side note: I personally think libraries should return errors - not > log > > them. The error logging should happen in the app - not the library. If > you > > have to log errors in the framework there is a good chance your API is > not > > how it should be. > > > > That's not a good answer for all libraries. For example, I am so happy the > HttpComponents does logging, it has saved me countless hours and headaches. >
If you think so that's fine - I am fine to disagree :) For me it's a sign that the API and/or the error reporting is not quite right.