All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itangcent.intellij.logger.SystemILoggerProvider.kt Maven / Gradle / Ivy

Go to download

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)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy