Last active
October 12, 2016 03:23
-
-
Save kasundm5566/5d6f11a8eb9667b2180d3830ae46e33d to your computer and use it in GitHub Desktop.
Define log4j and SLF4J in java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final Logger log = LogManager.getLogger(TestClass.class); // log4j2 | |
// Change above code as following. | |
private static final Logger log = LoggerFactory.getLogger(TestClass.class); // SLF4J |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment