Debug [Src]
This is a debug only print utility.
primitive val Debug
Constructors
create [Src]
new val create()
: Debug val^
Returns
- Debug val^
Public Functions
out [Src]
If platform is debug configured, print message to standard output
fun box out(
msg: Stringable box = seq)
: None val
Parameters
- msg: Stringable box = seq
Returns
- None val
err [Src]
If platform is debug configured, print message to standard error
fun box err(
msg: Stringable box = seq)
: None val
Parameters
- msg: Stringable box = seq
Returns
- None val
apply [Src]
apply(msg: Stringable, sep: String, stream: DebugStream): None
: If platform is debug configured, print a stringable. The default output
stream is stdout.
apply(msg: ReadSeq[Stringable], sep: String, stream: DebugStream): None
: If platform is debug configured, print 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 = seq,
stream: (DebugOut val | DebugErr val) = seq)
: None val
Parameters
- msg: (Stringable box | ReadSeq[Stringable box] box)
- sep: String val = seq
- stream: (DebugOut val | DebugErr val) = seq
Returns
- None val
eq [Src]
fun box eq(
that: Debug val)
: Bool val
Parameters
- that: Debug val
Returns
- Bool val
ne [Src]
fun box ne(
that: Debug val)
: Bool val
Parameters
- that: Debug val
Returns
- Bool val