Created
September 5, 2022 03:26
-
-
Save rugyoga/05cc0843453385bb4e63524b86a323c2 to your computer and use it in GitHub Desktop.
Audit macro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmacro audit(record) do | |
quote generated: true do | |
unquote(__MODULE__).audit_fun(unquote(record), __ENV__) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment