mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 05:17:59 +03:00
feat: add DEBUG output operator
This commit is contained in:
@@ -49,4 +49,13 @@
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DBOUT std::cerr << TURQ
|
||||
#define ENDL RESET << std::endl
|
||||
#else
|
||||
#define DBOUT 0 && std::cerr
|
||||
#define ENDL RESET << std::endl
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user