Commit 96949915 authored by Him188's avatar Him188

Make EventLogger public so as to be able to enable

parent 550d781f
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment