src/main/kotlin/de/uapcore/lightpit/Logging.kt

changeset 167
3f30adba1c63
parent 151
b3f14cd4f3ab
child 180
009700915269
equal deleted inserted replaced
166:6eede6088d41 167:3f30adba1c63
27 27
28 import org.slf4j.Logger 28 import org.slf4j.Logger
29 import org.slf4j.LoggerFactory 29 import org.slf4j.LoggerFactory
30 30
31 interface LoggingTrait 31 interface LoggingTrait
32 inline fun <reified T : LoggingTrait> T.logger(): Logger = LoggerFactory.getLogger(T::class.java); 32
33 inline fun <reified T : LoggingTrait> T.logger(): Logger = LoggerFactory.getLogger(T::class.java)

mercurial