Add warning() and use it in DEBUG mode.

This commit is contained in:
Simon Ruderich
2013-06-07 00:58:16 +02:00
parent 51377106d1
commit 7337375e05
3 changed files with 61 additions and 16 deletions

View File

@@ -35,6 +35,8 @@
#ifdef DEBUG
# define DEBUG_FILE "colored_stderr_debug_log.txt"
/* Created in the user's home directory, appends to existing file. */
# define WARNING_FILE "colored_stderr_warning_log.txt"
#endif
#endif