commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
Subject Re: [crypto] Logging dependency
Date Fri, 10 Jun 2016 09:12:23 GMT
FWIW

I am not a fan of libraries and frameworks just logging away anyway.

What I usually do this days:
Have an interface in the library itself. Along the lines of

    public interface Console {
        void debug( String message );
    }

and then have the user of the library pass in an implementation of his/her
liking.
Let others do the log framework discussions.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message