From d580a4468a26f6b47b4dfe7c9171e680c788be41 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 13 Mar 2025 16:43:14 +0800 Subject: NFormatter: no more prefix support for socket write NFormatter: remove CHAT prefix --- src/format.hpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/format.hpp') diff --git a/src/format.hpp b/src/format.hpp index df1aa40..42a4458 100644 --- a/src/format.hpp +++ b/src/format.hpp @@ -9,7 +9,6 @@ enum eFormatType : int8_t { WARN, ERR, SYS, - CHAT, }; namespace NFormatter { @@ -28,9 +27,6 @@ inline std::string fmt(eFormatType type, std::string str) { case SYS: prefix = "[SYSTEM] "; break; - case CHAT: - prefix = "[CHAT] "; - break; case TRACE: prefix = "[DEBUG] "; break; -- cgit v1.2.3