Commit f1e0f01
committed
Params: Add do_not_log to param block open/close
This patch adds `do_not_log` to `openParameterBlock`, to prevent logging
of `BLOCK%` `%BLOCK` entry and exit calls.
The argument was not added to `closeParameterBlock`, since this state
can be tracked inside the `block` with a new `log_access` field in
`parameter_block`.
This flag does not extend to parameters within the block, since (as far
as I know) there is no way for a `get_param` to know if it is within a
block or not. Even if it could know this, there would need to be some
careful handling of nested blocks.
The potential block/parameter inconsistency should be supported at some
point, but for now it is the user's responsibility to consistently apply
`do_not_log` to blocks and its contents.1 parent 435ccaa commit f1e0f01
1 file changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
2082 | 2084 | | |
2083 | 2085 | | |
2084 | 2086 | | |
2085 | | - | |
| 2087 | + | |
2086 | 2088 | | |
2087 | 2089 | | |
2088 | 2090 | | |
2089 | 2091 | | |
| 2092 | + | |
| 2093 | + | |
2090 | 2094 | | |
2091 | 2095 | | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
2092 | 2101 | | |
2093 | 2102 | | |
2094 | 2103 | | |
2095 | | - | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
2096 | 2110 | | |
2097 | 2111 | | |
2098 | 2112 | | |
| |||
2111 | 2125 | | |
2112 | 2126 | | |
2113 | 2127 | | |
2114 | | - | |
| 2128 | + | |
2115 | 2129 | | |
2116 | 2130 | | |
2117 | 2131 | | |
| |||
0 commit comments