What is the difference between SLF4j and log4J/log4j2?(Logging frameworks vs Logging wrappers in java)
When we create a java application, we would like to log the statements, at different logging levels( info, warn, debug, error e.t.c), so that it helps to trace the program flow while troubleshooting.So when we decide to implement logging for a given application instead of using stdout, we can use several logging frameworks available in the market like log4j, logback,log4j2, tinylog e.t.c