TraceSyntax
trait TraceSyntax
This module is carefully optimized to give zero overhead if Config.tracingEnabled
is false. The trace
operation is called in various hotspots, so every tiny bit
of overhead is unacceptable: boxing, closures, additional method calls are all out.
Value members
Concrete methods
inline def apply[T](inline question: String, inline printer: Printer, inline showOp: Any => String)(inline op: T)(using Context): T
inline def apply[T](inline question: String, inline printer: Printer, inline show: Boolean)(inline op: T)(using Context): T
inline def apply[T](inline question: String, inline printer: Printer)(inline op: T)(using Context): T
inline def conditionally[TC](inline cond: Boolean, inline question: String, inline show: Boolean)(inline op: TC)(using Context): TC