com.itangcent.intellij.logger.SystemILoggerProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guice-action Show documentation
Show all versions of guice-action Show documentation
Help for developing plugins for JetBrains products.
KotlinAnAction:provide ActionContext(support inject guice) for actionPerformed
The newest version!
package com.itangcent.intellij.logger
import com.itangcent.common.logger.ILogger
import com.itangcent.common.logger.ILoggerProvider
import kotlin.reflect.KClass
class SystemILoggerProvider : ILoggerProvider {
override fun getLogger(name: String): ILogger {
return SystemLogger(name)
}
override fun getLogger(clazz: KClass<*>): ILogger {
return SystemLogger(clazz)
}
override fun getLogger(clazz: Class<*>): ILogger {
return SystemLogger(clazz)
}
}