def log
import cswap-bend-cli@0.1.0.0/store/io.bend as Ioimport Base
import cswap-bend-cli@0.1.0.0/act.bend as Act
34# One line in claude-swap.log, in the reference's format. A log that cannot be
35# written never fails the operation.
36def log(+root: String, +level: String, +msg: String) -> Act.of(Unit):
37 do ActM<Unit>:
38 ts : String <- now_iso()
39 log_write(root, ts, level, msg)