mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
CFileLogger: group messages by category.
This commit is contained in:
committed by
Klaus Basan
parent
8e6422d2be
commit
6bfbaefdc8
@@ -84,7 +84,10 @@ namespace BlackMisc
|
||||
}
|
||||
while (isRepeatable());
|
||||
|
||||
if (!isValid) { CLogMessage(this).debug() << "Failed to match" << getDecoderType() << "in remaining METAR:" << metarString; }
|
||||
if (!isValid)
|
||||
{
|
||||
CLogMessage(static_cast<CMetarDecoder*>(nullptr)).debug() << "Failed to match" << getDecoderType() << "in remaining METAR:" << metarString;
|
||||
}
|
||||
return isValid;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -30,8 +30,9 @@ namespace BlackMisc
|
||||
//! Metar Decoder
|
||||
class BLACKMISC_EXPORT CMetarDecoder : public QObject
|
||||
{
|
||||
public:
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Default constructor
|
||||
CMetarDecoder();
|
||||
|
||||
@@ -44,7 +45,6 @@ namespace BlackMisc
|
||||
private:
|
||||
void allocateDecoders();
|
||||
std::vector<std::unique_ptr<IMetarDecoderPart>> m_decoders;
|
||||
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user