No ability to print multiple logs
jsardev opened this issue · comments
I'm a bit confused about why running log
logs only the first log and then nothing else. Could all the log
executions be visible in stdout
? 🤔
I'm not sure what you mean by this. Please provide the commands and code you use to reproduce.
engine marzano(0.1)
language js
string_fragment() as $fragment where {
log(message = $fragment)
}
console.log("Hello, Dan")
console.log("Hello, James")
https://app.grit.io/studio?key=4-_6OE96nQtRDugIa2Hep
@morgante I was expecting to see logs for both occurences, but when I run this via grit apply
- I only see the first log
execution.
Ah ok, the studio only shows the first log currently.
They should all show up on the CLI.
Ah it's possibly related to this: https://github.com/getgrit/gritql/blob/main/crates/marzano_messenger/src/emit.rs#L141