From 428b279dd0069c49423eadc8cb9505cc3946298f Mon Sep 17 00:00:00 2001 From: FarewellNehir Date: Tue, 17 Sep 2024 22:30:18 +0300 Subject: [PATCH] fix log error --- lib/bin/gmeng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bin/gmeng.h b/lib/bin/gmeng.h index 494f7ca..4a872d8 100755 --- a/lib/bin/gmeng.h +++ b/lib/bin/gmeng.h @@ -605,7 +605,7 @@ static std::string get_filename(string filepath) { static void _gm_log(const char* file_, int line, const char* func, std::string _msg, bool use_endl = true) { if ((IS_DISABLED GET_PREF("pref.log", func)) && !Gmeng::global.dont_hold_back) { - __gmeng_write_log__("gmeng.log", "GET_PREF(" + std::string(func) + ":pref.log) :: " + v_str( (int) GET_PREF("pref.log", func) ) + "\n"); + //__gmeng_write_log__("gmeng.log", "GET_PREF(" + std::string(func) + ":pref.log) :: " + v_str( (int) GET_PREF("pref.log", func) ) + "\n"); return; }; #ifndef __GMENG_ALLOW_LOG__