Repository navigation
Provide macros for compile-time control - #48
Conversation
There was a problem hiding this comment.
one comment nit. only other thing i noticed is that the return values will change for some of these when disabled. the original stub impl 14d7f61 kept the same shape. probably not a big deal, up to you if you want to do anything about it or not.
also, should have led with "this is awesome, thanks!" =D
| %% [{d, 'IMETRICS_LEVEL', info}]}]}]}. | ||
| %% | ||
| %% When compiled out, the call is a no-op. The metric is not recorded, arguments are | ||
| %% not evaluated. Avoid depending on the return values of the macro, since when |
There was a problem hiding this comment.
when disabled the macros re tick/tock/stats should say that their args are not evaluated except for those passed through to the return value.
Good find on the return values. I've updated to fit the expected type. Claude assures me that |
3e638d0 to
599c8c2
Compare
New macros added to give compile-time control to apps.