mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
Coded location logging
This commit is contained in:
parent
db4f37a37d
commit
7d503ec506
4 changed files with 101 additions and 0 deletions
|
|
@ -175,6 +175,28 @@ bool CodedTimeMotionLocation::Parse(const StringRange& lines,
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tokenList.empty())
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(warning)
|
||||
<< logPrefix_ << "TIME...MOT...LOC not found";
|
||||
}
|
||||
else
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(warning)
|
||||
<< logPrefix_
|
||||
<< "Malformed TIME...MOT...LOC tokens: (0: " << tokenList.at(0)
|
||||
<< ", size: " << tokenList.size() << ")";
|
||||
|
||||
for (const auto& token : tokenList)
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(debug) << logPrefix_ << token;
|
||||
}
|
||||
}
|
||||
|
||||
dataValid = false;
|
||||
}
|
||||
|
||||
return dataValid;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue