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

scala.reflect.macros.util.Traces.scala Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
package scala.reflect.macros
package util

trait Traces {
  def globalSettings: scala.tools.nsc.Settings

  val macroDebugLite = globalSettings.YmacrodebugLite.value
  val macroDebugVerbose = globalSettings.YmacrodebugVerbose.value
  @inline final def macroLogLite(msg: => Any) { if (macroDebugLite || macroDebugVerbose) println(msg) }
  @inline final def macroLogVerbose(msg: => Any) { if (macroDebugVerbose) println(msg) }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy