[Cleanup] Reduce build size by compacting logs

This commit is contained in:
TD-er
2023-10-29 14:12:22 +01:00
parent cafb0059e8
commit b00cc01ca1
10 changed files with 56 additions and 73 deletions
+4 -5
View File
@@ -929,11 +929,10 @@ bool CPlugin_014(CPlugin::Function function, struct EventStruct *event, String&
#ifndef BUILD_NO_DEBUG
if (loglevelActiveFor(LOG_LEVEL_DEBUG)) {
String log = F("C014 : Sent to ");
log += tmppubname;
log += ' ';
log += value;
addLogMove(LOG_LEVEL_DEBUG, log);
addLogMove(LOG_LEVEL_DEBUG,
strformat(F("C014 : Sent to %s %s"),
tmppubname.c_str(),
value.c_str()));
}
#endif
}