some kind of retry mechanism could be useful here to make sure no events are lost
cargo
prints warnings and other stuff in stderr
, meaning it can get really noisy. So we'll silence those warnings unless we're asking for debug logs (RUST_LOG=debug
)
Some instrumentations are still missing, but this PR is mostly to get early feedback on the approach.
I'm not a big fan of "duplicating" all the stuff below. It is for different concerns than the ones defined in harmony_cli
, but it follows the same pattern.
See the PR comment above (in examples/rust/main.rs
) for more info
Ideally, this shouldn't have to be handled by the end user. But in this case, because Maestro::initialize
prepares the Topology
(which might execute Scores
), we have to register the cli_logger
early.