mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-06 11:38:16 +08:00
Make EventLogger public so as to be able to enable
This commit is contained in:
parent
550d781f8d
commit
9694991592
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user