v/examples/pendulum-simulation/modules/sim/log.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)
}
}