org.slf4j.impl.StaticMarkerBinder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of log4kt Show documentation
Show all versions of log4kt Show documentation
A very simple SLF4J implementation written in Kotlin.
The newest version!
package org.slf4j.impl
import org.slf4j.IMarkerFactory
import org.slf4j.helpers.BasicMarkerFactory
import org.slf4j.spi.MarkerFactoryBinder
/**
* @author zp4rker
*/
class StaticMarkerBinder : MarkerFactoryBinder {
companion object {
@JvmField val SINGLETON = StaticMarkerBinder()
}
override fun getMarkerFactory(): IMarkerFactory = BasicMarkerFactory()
override fun getMarkerFactoryClassStr(): String = BasicMarkerFactory::class.java.name
}