What is the difference between trace and print methods? #646
Unanswered
usmanovbf
asked this question in
OPA and Rego
Replies: 1 comment
-
Hey, sorry for the delay here ❄️ Trace is only shown when using explain, but notes are shown relative to where they're called. Print 'just' prints to the console during execution. Print is newer, and generally speaking, easier to use for debugging.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this one https://www.openpolicyagent.org/docs/latest/policy-reference/#tracing and this https://www.openpolicyagent.org/docs/latest/policy-reference/#debugging
Beta Was this translation helpful? Give feedback.
All reactions