diff options
Diffstat (limited to 'clients/log.h')
-rw-r--r-- | clients/log.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clients/log.h b/clients/log.h new file mode 100644 index 0000000..127d8e0 --- /dev/null +++ b/clients/log.h @@ -0,0 +1,7 @@ +#pragma once + +#include <cstdio> + +#ifndef LOG +#define LOG(fmt, ...) do { fprintf(stderr, "%s() " fmt, __func__, ##__VA_ARGS__); } while (0) +#endif |