Instead of using plain System.out.println/err, go for a proper logger.
Logging is indeed a functionality that shall be delegated to the user of your library.
Use a logging facade like SLF4j or Apache Commons Logging.
I have more experience with SLF4j.
Instead of using plain System.out.println/err, go for a proper logger. Logging is indeed a functionality that shall be delegated to the user of your library. Use a logging facade like SLF4j or Apache Commons Logging. I have more experience with SLF4j.