On 4 February 2013 11:50, Damjan Jovanovic <dam...@apache.org> wrote:
> Hi
>
> I see few Commons components do any logging, and net, io and csv don't
> even have any dependencies. Is this a recommended practice?

Low level libraries should generally not do any logging; the calling
application is responsible for this.

> Imaging prints to System.out (!!) instead of logging, and I am
> wondering if I should add slf4j or log4j2 instead?

It should not use System.out.

But nor should it really use logging.
Errors and warnings should be returned as exceptions or status codes.

Debug logging is different, but should not be enabled by default.

> Regards
> Damjan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

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

Reply via email to