|
|
|
|
|
by ddeck
4421 days ago
|
|
I just switched from Logback to Log4j2 for an application and since I was using SLF4J, there were no code changes required. Also consider the case of third-party libraries. I have dependencies in my application that are hard coded to log to about three different logging implementations. If they instead used SLF4J, the end user could choose whichever implementation they were already using in their app, instead of having multiple implementations or needing to redirect the output via an SLF4J bridging module. |
|