SimpCfg:Trim DumpHexString only if SC_DEBUG_VERBOSE

This commit is contained in:
HanishKVC 2024-05-04 12:25:57 +05:30
parent f53c19baac
commit 20e5b383c5

View file

@ -56,6 +56,7 @@
#define SC_DEBUG
#undef SC_DEBUG_VERBOSE
#define SC_TEST_PRG
#ifdef SC_TEST_PRG
#define LINFO_LN(FMT, ...) fprintf(stdout, FMT"\n", __VA_ARGS__)
@ -148,7 +149,7 @@ void dumphex_string(const TString &sIn, const std::string &msgTag){
//
template <typename TString>
TString str_trim_dumb(TString sin, const TString &trimChars=" \t\n") {
#ifdef SC_DEBUG
#ifdef SC_DEBUG_VERBOSE
dumphex_string(sin, "DBUG:TrimDumb:Str:");
dumphex_string(trimChars, "DBUG:TrimDumb:Tim:");
#endif