v/examples/pendulum-simulation/modules/sim/log.v

10 lines
133 B
V
Raw Normal View History

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