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

gsonpath.util.Logger.kt Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package gsonpath.util

import javax.annotation.processing.ProcessingEnvironment
import javax.tools.Diagnostic

interface Logger {
    fun error(message: String)
}

class LoggerImpl(private val processingEnvironment: ProcessingEnvironment) : Logger {
    override fun error(message: String) {
        processingEnvironment.messager.printMessage(Diagnostic.Kind.ERROR, message)
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy