-
-
Save wjmboss/b1fd3a6e08d0e8090a98cbb850dd30f1 to your computer and use it in GitHub Desktop.
Erlang macro for getting the current function name.
This file contains hidden or 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
| -define(current_function_name(), element(2, element(2, process_info(self(), current_function)))). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment