core/command: add --tail to log subcommand

This commit is contained in:
outfoxxed 2024-09-10 01:02:43 -07:00
parent f810c63ffc
commit c78381f6d0
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 30 additions and 6 deletions

View file

@ -130,7 +130,7 @@ private:
LoggingThreadProxy threadProxy;
};
bool readEncodedLogs(QIODevice* device, bool timestamps, const QString& rulespec);
bool readEncodedLogs(QIODevice* device, bool timestamps, int tail, const QString& rulespec);
} // namespace qs::log