mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T171, interpolator / interpolation logger formatting
This commit is contained in:
@@ -110,14 +110,9 @@ namespace BlackMisc
|
||||
|
||||
CStatusMessage CInterpolationLogger::logStatusFileWriting(bool success, const QString &fileName)
|
||||
{
|
||||
if (success)
|
||||
{
|
||||
return CStatusMessage(static_cast<CInterpolationLogger *>(nullptr)).info("Written log file '%1'") << fileName;
|
||||
}
|
||||
else
|
||||
{
|
||||
return CStatusMessage(static_cast<CInterpolationLogger *>(nullptr)).error("Failed to write log file '%1'") << fileName;
|
||||
}
|
||||
return success ?
|
||||
CStatusMessage(static_cast<CInterpolationLogger *>(nullptr)).info("Written log file '%1'") << fileName :
|
||||
CStatusMessage(static_cast<CInterpolationLogger *>(nullptr)).error("Failed to write log file '%1'") << fileName;
|
||||
}
|
||||
|
||||
void CInterpolationLogger::logInterpolation(const CInterpolationLogger::SituationLog &log)
|
||||
|
||||
Reference in New Issue
Block a user