Skip to content

Instantly share code, notes, and snippets.

@dongyuwei
Created May 23, 2019 08:16
Show Gist options
  • Save dongyuwei/ddf7c911554b61c48450b089c259284f to your computer and use it in GitHub Desktop.
Save dongyuwei/ddf7c911554b61c48450b089c259284f to your computer and use it in GitHub Desktop.
-ifndef(PRINT).
-define(PRINT(Var), io:format("DEBUG: ~p:~p - ~p~n~n ~p~n~n", [?MODULE, ?LINE, ??Var, Var])).
-endif.
@dongyuwei
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment