Created
October 22, 2017 13:28
-
-
Save yusuke/09854ced994e03b342f916107a348065 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package samuraism.core.logging; | |
import org.slf4j.Logger; | |
public final class LoggerFactory { | |
private LoggerFactory() { | |
} | |
public static Logger getLogger() { | |
return org.slf4j.LoggerFactory.getLogger(new Throwable().getStackTrace()[1].getClassName()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment