Make EventLogger public so as to be able to enable

This commit is contained in:
Him188 2020-02-12 23:47:26 +08:00
parent 550d781f8d
commit 9694991592

View File

@ -21,7 +21,7 @@ import kotlin.coroutines.coroutineContext
import kotlin.jvm.JvmField
import kotlin.reflect.KClass
internal val EventLogger: MiraiLoggerWithSwitch = DefaultLogger("Event").withSwitch(false)
val EventLogger: MiraiLoggerWithSwitch = DefaultLogger("Event").withSwitch(false)
@PublishedApi
internal fun <L : Listener<E>, E : Event> KClass<out E>.subscribeInternal(listener: L): L {