mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Use Plugin.name for JvmPlugin.logger
This commit is contained in:
parent
77bc76be24
commit
c25733b8ac
@ -64,9 +64,7 @@ internal abstract class JvmPluginInternal(
|
||||
// region JvmPlugin
|
||||
final override val logger: MiraiLogger by lazy {
|
||||
BuiltInJvmPluginLoaderImpl.logger.runCatchingLog {
|
||||
MiraiConsole.createLogger(
|
||||
"Plugin ${this.description.name}"
|
||||
)
|
||||
MiraiConsole.createLogger(this.description.name)
|
||||
}.getOrThrow()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user