Убран вывод логгера при ошибки

This commit is contained in:
cfif 2026-11-02 16:14:29 +03:00
parent a051402567
commit af0ba61edb
1 changed files with 3 additions and 3 deletions

View File

@ -773,9 +773,9 @@ void LoggerPrintf(
if (result > 0) {
logger->logging(logger->env, authorStatic, authorLen, loglevel, str, result, complete);
} else {
str[0] = 0;
strcat(str, "Error LOG");
logger->logging(logger->env, authorStatic, authorLen, loglevel, str, sizeof("Error LOG") - 1, complete);
// str[0] = 0;
// strcat(str, "Error LOG");
// logger->logging(logger->env, authorStatic, authorLen, loglevel, str, sizeof("Error LOG") - 1, complete);
}
}