remove usless output from error message
This commit is contained in:
parent
550acdc007
commit
dbb2409d76
|
@ -566,7 +566,7 @@ void SystemFlags::logDebugEntry(DebugType type, string debugEntry, time_t debugT
|
||||||
(*currentDebugLog.fileStream) << "[" << szBuf2 << "] " << debugEntry.c_str();
|
(*currentDebugLog.fileStream) << "[" << szBuf2 << "] " << debugEntry.c_str();
|
||||||
}
|
}
|
||||||
else if (type == debugError) {
|
else if (type == debugError) {
|
||||||
(*currentDebugLog.fileStream) << "[" << szBuf2 << "] *ERROR* " << debugEntry.c_str();
|
(*currentDebugLog.fileStream) << " *ERROR* " << debugEntry.c_str();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
(*currentDebugLog.fileStream) << debugEntry.c_str();
|
(*currentDebugLog.fileStream) << debugEntry.c_str();
|
||||||
|
@ -587,7 +587,7 @@ void SystemFlags::logDebugEntry(DebugType type, string debugEntry, time_t debugT
|
||||||
printf("[%s] %s", szBuf2, debugEntry.c_str());
|
printf("[%s] %s", szBuf2, debugEntry.c_str());
|
||||||
}
|
}
|
||||||
else if (type == debugError) {
|
else if (type == debugError) {
|
||||||
printf("[%s] *ERROR* %s", szBuf2, debugEntry.c_str());
|
printf("*ERROR* %s", debugEntry.c_str());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf("%s", debugEntry.c_str());
|
printf("%s", debugEntry.c_str());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user