[mock] Remove MockConsoleImplementation.createLogger because it had been removed in its super class

This commit fixes 7908edb57b
This commit is contained in:
Him188 2022-12-27 17:50:41 +00:00
parent 479fa773f5
commit 38737a473a
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -76,15 +76,6 @@ open class MockConsoleImplementation : MiraiConsoleImplementation {
override fun createLoginSolver(requesterBot: Long, configuration: BotConfiguration): LoginSolver =
LoginSolver.Default!!
@Suppress("DeprecatedCallableAddReplaceWith")
@Deprecated(
"Deprecated for removal. Implement the other overload, or use MiraiConsole.createLogger instead.",
level = DeprecationLevel.HIDDEN
)
override fun createLogger(identity: String?): MiraiLogger {
return PlatformLogger(identity)
}
override fun createLoggerFactory(context: MiraiConsoleImplementation.FrontendLoggingInitContext): MiraiLogger.Factory {
return object : MiraiLogger.Factory {
override fun create(requester: Class<*>, identity: String?): MiraiLogger {