Slf4j is indeed just a logging facade so that one can you can plug in his/her own logging frameworks like java.util.logging, log4j, Apache commons logging, and logback. Native implementation of slf4j is logback. Step 1: Create a new Maven based Java project.
|
1 |
mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=simpleLog4j -DinteractiveMode=false |
Step 2: Import this project into eclipse...