Created
March 24, 2019 22:24
-
-
Save nwillc/23b2e2ca2d41a6fb39e501872cc521a3 to your computer and use it in GitHub Desktop.
A Kotlin extension function for SLF4J API
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
import org.slf4j.Logger | |
import org.slf4j.LoggerFactory | |
inline fun <reified T> getLogger(): Logger = LoggerFactory.getLogger(T::class.java.name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment