Debug¶
This is a debug only print utility.
Constructors¶
create¶
Returns¶
- Debug val^
Public Functions¶
apply¶
If platform is debug configured, print either a single stringable or a sequence of stringables. The default separator is ", ", and the default output stream is stdout.
fun box apply(
msg: (Stringable box | ReadSeq[Stringable box] box),
sep: String val = ", ",
stream: (DebugOut val | DebugErr val) = reference)
: None val
Parameters¶
- msg: (Stringable box | ReadSeq[Stringable box] box)
- sep: String val = ", "
- stream: (DebugOut val | DebugErr val) = reference
Returns¶
- None val
out¶
If platform is debug configured, print message to standard output
Parameters¶
- msg: Stringable box = ""
Returns¶
- None val
err¶
If platform is debug configured, print message to standard error
Parameters¶
- msg: Stringable box = ""
Returns¶
- None val
eq¶
Parameters¶
- that: Debug val
Returns¶
- Bool val
ne¶
Parameters¶
- that: Debug val
Returns¶
- Bool val