A wrapper for String
s, provided so that it can be used as an implicit
parameter, which String
s are not ideal for.
A wrapper for Int
s, provided so that it can be used as an implicit
parameter, which Int
s are not ideal for.
Implicit conversion from T
to XrayFromSpells
, which contains methods like xray
and xrayIf
.
Instances of this class are created by methods like xray
or xrayIf
.
Creates an instance of StackTraceElement
at current line.
Creates an instance of StackTraceElement
at current line.
adjust if you build a library around it and the line stopps matching
an instance of StackTraceElement
at current line.
Creates an instance of XrayReport
.
Creates an instance of XrayReport
. Primarily useful for library authors.
the type, your expression evaluates to
the expression to be evaluated
an optional description
the depth can be used in certain cases when you want to write your own library and have issues with line numberes jumping around
the typeTag injected by the compiler
outer style for the report
custom rendering for T
an instance of XrayReport
, which can be rendered or written to a database etc etc
Creates an instance of XrayReport
.
Creates an instance of XrayReport
. Primarily useful for library authors.
the type, your expression evaluates to
the expression to be evaluated
an optional description
the depth can be used in certain cases when you want to write your own library and have issues with line numberes jumping around
outer style for the report
an instance of XrayReport
, which can be rendered or written to a database etc etc
Provides the
xrayed
as well asxrayedWeak
methods respectively, which analyse an expression and return an instance of theXrayReport
.It also provides the
xray
as well asxrayIf
method respectively as well as their "weak" counterparts, which is a DSL for creatingXrayReport
s without interrupting the code flow.