microsoft / regorus

Regorus - A fast, lightweight Rego (OPA policy language) interpreter written in Rust.
MIT License
130 stars 32 forks source link

Ability to gather print statements instead of printing to stderr #180

Closed anakrish closed 6 months ago

anakrish commented 6 months ago

As a debugging utility, provide ability to gather print statements instead of emitting to stderr. The gathered statements can then be sent to a logging stream of the user's choosing.