Created
July 20, 2016 23:11
-
-
Save yhirose/d0fc7a489743f1e5e949a3942db1ec34 to your computer and use it in GitHub Desktop.
Debug Print
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
#define debug(...) { fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n"); } | |
// bash> tail -f debug.log | |
// bash> [command] 2> debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment