Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
Use Plugin.name for JvmPlugin.logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Sep 12, 2020
1 parent 77bc76b commit c25733b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit c25733b

Please sign in to comment.