vow-log
vow-log wraps log_write with the Log capability for structured audit lines. Install with vpm:
curl -fsSL https://install.vowlang.dev | shexport PATH="$HOME/.local/bin:$PATH"vpm add vow-logvpm installQuick start
Section titled “Quick start”import vlog from vow_log
fn audit(msg: String) -> int needs Log { return vlog.info(msg);}
fn main(caps: Caps) -> int { return match caps.log { Some(cap) => with cap { audit("start") }, None => 0 - 1, };}Run tests
Section titled “Run tests”cd vow-libs/vow-log && vow test tests/log.vow -- --grant log:/tmp/app.log