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

izumi.fundamentals.platform.reflection.ScalacSink.scala Maven / Gradle / Ivy

The newest version!
package izumi.fundamentals.reflection

import izumi.fundamentals.platform.console.AbstractStringTrivialSink

import scala.reflect.macros.blackbox

final class ScalacSink(c: blackbox.Context) extends AbstractStringTrivialSink {
  override def flush(value: => String): Unit = {
    c.info(c.enclosingPosition, value, force = true)
  }

  override def flushError(value: => String): Unit = {
    c.info(c.enclosingPosition, value, force = true)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy