diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-11 19:01:02 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-20 23:44:58 +0800 |
| commit | b3fc81f22c0f00636611ef36e70138607635c2ff (patch) | |
| tree | 183f900f9cb27235bca4aaa9c98dac95c20d364c /src/format.hpp | |
| parent | 83e4b14887eb4c1154fa96751285f0c37f1bbf92 (diff) | |
format/log: trace prefix
Diffstat (limited to 'src/format.hpp')
| -rw-r--r-- | src/format.hpp | 3 |
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; |
