in sim/api.ts [91:95]
export function log(msg:string) { logMsg("CONSOLE: " + msg) // why doesn't that work? board().writeSerial(msg + "\n") }