commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: [crypto] Logging dependency
Date Fri, 10 Jun 2016 12:19:27 GMT
On Fri, 10 Jun 2016 12:55:18 +0200, Torsten Curdt 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.

"error" was just an example.
I meant that you'll end up with perfectly valid requests for all the 
levels
supported by the API of full-fledged frameworks.

Gilles

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


Mime
View raw message