trace
dotty.tools.dotc.reporting.trace$
object trace extends TraceSyntax
Exposes the
trace("question") { op }
syntax.
Traced operations will print indented messages if enabled. Tracing depends on Config.tracingEnabled and dotty.tools.dotc.config.ScalaSettings.Ylog. Tracing can be forced by replacing trace with trace.force or trace.log (see below).
Attributes
- Graph
-
- Supertypes
- Self type
-
trace.type
Members list
Type members
Classlikes
object force extends TraceSyntax
Attributes
- Supertypes
- Self type
-
force.type
object log extends TraceSyntax
Attributes
- Supertypes
- Self type
-
log.type
Value members
Inherited methods
Attributes
- Inherited from:
- TraceSyntax
Attributes
- Inherited from:
- TraceSyntax
Attributes
- Inherited from:
- TraceSyntax
Attributes
- Inherited from:
- TraceSyntax
Attributes
- Inherited from:
- TraceSyntax
inline def conditionally[TC](inline cond: Boolean, inline question: String, inline show: Boolean)(inline op: TC)(using Context): TC
Attributes
- Inherited from:
- TraceSyntax
Attributes
- Inherited from:
- TraceSyntax
In this article