summaryrefslogtreecommitdiff
path: root/src/format.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.hpp')
-rw-r--r--src/format.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format.hpp b/src/format.hpp
index 019f3d6..40e85f3 100644
--- a/src/format.hpp
+++ b/src/format.hpp
@@ -28,9 +28,11 @@ inline std::string fmt(eFormatType type, std::string str) {
case SYS:
prefix = "[SYSTEM] ";
break;
+#ifdef DEBUG
case TRACE:
prefix = "[DEBUG] ";
break;
+#endif
default:
prefix = "";
break;