10 lines
133 B
V
10 lines
133 B
V
|
module sim
|
||
|
|
||
|
// log is a helper function to print debug info
|
||
|
[inline]
|
||
|
pub fn log(info string) {
|
||
|
$if verbose ? {
|
||
|
println(info)
|
||
|
}
|
||
|
}
|