summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-03-11 19:01:02 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-03-20 23:44:58 +0800
commitb3fc81f22c0f00636611ef36e70138607635c2ff (patch)
tree183f900f9cb27235bca4aaa9c98dac95c20d364c /src
parent83e4b14887eb4c1154fa96751285f0c37f1bbf92 (diff)
format/log: trace prefix
Diffstat (limited to 'src')
-rw-r--r--src/format.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/format.hpp b/src/format.hpp
index f079535..d12ceea 100644
--- a/src/format.hpp
+++ b/src/format.hpp
@@ -31,6 +31,9 @@ inline std::string fmt(eFormatType type, std::string str) {
case CHAT:
prefix = "[CHAT] ";
break;
+ case TRACE:
+ prefix = "[DEBUG] ";
+ break;
default:
prefix = "";
break;