mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 05:13:59 +02:00
remove usless output from error message
This commit is contained in:
@@ -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());
|
||||||
|
Reference in New Issue
Block a user