diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-19 15:35:13 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-19 15:35:13 -0800 |
commit | 040039e3007ea9a24621ea1831b51a516003ad64 (patch) | |
tree | fd12a1d626685563451e6fd2f0f6d1ce33500443 /includes/Printer.h | |
parent | a1d08fd27ab73b1697039e086d745ac68b890634 (diff) |
Adding the ability to mute the core engine even in debug builds.
Diffstat (limited to 'includes/Printer.h')
-rw-r--r-- | includes/Printer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Printer.h b/includes/Printer.h index d0eeab7..2717a84 100644 --- a/includes/Printer.h +++ b/includes/Printer.h @@ -65,7 +65,7 @@ class Printer { static void print(const char * fmt, ...) printfwarning(1, 2) { va_list ap; va_start(ap, fmt); vprint(fmt, ap); va_end(ap); } static void vprint(const char * fmt, va_list ap) printfwarning(1, 0) { getPrinter()->_print(fmt, ap); } -#ifdef DEBUG +#ifdef FULLDEBUG static void elog(uint32_t engine, const char * fmt, ...) printfwarning(2, 3) { va_list ap; va_start(ap, fmt); getPrinter()->_log(M_ENGINE_DEBUG, fmt, ap); } #else static void elog(uint32_t engine, const char * fmt, ...) { } |