feat(xml-logs): finish tests
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@@ -55,9 +55,12 @@ class LogParser {
|
||||
|
||||
void appendLine(QAnyStringView data);
|
||||
std::optional<ParsedItem> parseNext();
|
||||
std::optional<QList<ParsedItem>> parseAvailable();
|
||||
QList<ParsedItem> parseAvailable();
|
||||
std::optional<Error> getError();
|
||||
|
||||
/// guess log level from a line of game log
|
||||
static MessageLevel::Enum guessLevel(const QString& line, MessageLevel::Enum level);
|
||||
|
||||
protected:
|
||||
MessageLevel::Enum parseLogLevel(const QString& level);
|
||||
std::optional<LogEntry> parseAttributes();
|
||||
|
||||
Reference in New Issue
Block a user