Please consider logging via SLF4J

Hello!

I have recently upgraded to SNMP4J 3.x and found that the log4j 1.2 logger was removed (for good).
It is unconvenient to force the java.util.logging LogAdapter to log to Log4j 2. As lots of other libraries use SLF4J, may I ask you to consider providing an option to use SLF4J for logging?

Kind regards,
Zoltan

Hello Zoltan,

If there is a demand for a LogAdapter/LogFactory pair for SLF4J, I can implement that as a separate package. I do not want tot put a dependency to such an optional external library in the basic SNMP4J API.

Best regards,
Frank

Hi @AGENTPP
We might also interested in SNMP4J over SLF4J. Any plans you think it can be introduced in any of the releases?
Regards,
Venkat

Hi Venkat,
I will not add it to SNMP4J itself to avoid unnecessary dependencies (and security issues by statically loading stuff).
Instead you can integrate it easily in then same way I did it for log4J with SNMP4J-Log4J 2.8.7
Best regards,
Frank