commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [crypto] Logging dependency
Date Fri, 10 Jun 2016 11:03:36 GMT
On 10 June 2016 at 11:55, Torsten Curdt <tcurdt@vafer.org> wrote:
>>
>> But I guarantee that there will be other discussions:
>>   Wouldn't you add an "error" method to "Console"?
>> And there we go again...
>
>
> Not quite the same discussions though.
> And I was just saying: it works for me.
>
> 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.

+1

Only the app can decide what an error means in the context of the app,
so only the app can log a sensible error message.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message