Describe the bug
A library should not restrict its users to a particular logging framework. Currently, bouncy-gpg uses logback and depends on it in compile while this should be clearly up to the user what logging framework to use.
Expected behavior
Only the logging facade should be exposed such as slf4j or flogger or log4j2-api.
Additional context
While different applications rely on different logging frameworks, having a strict dependency on logback forces users either to exclude logback from the dependency or switch to it.
Quick fix
One can exclude the logback from the library dependency, e.g. in Maven:
Describe the bug A library should not restrict its users to a particular logging framework. Currently,
bouncy-gpg
useslogback
and depends on it in compile while this should be clearly up to the user what logging framework to use.Expected behavior Only the logging facade should be exposed such as
slf4j
orflogger
orlog4j2-api
.Additional context While different applications rely on different logging frameworks, having a strict dependency on
logback
forces users either to exclude logback from the dependency or switch to it.Quick fix One can exclude the logback from the library dependency, e.g. in Maven: