mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Set some layers crash annotations.
This commit is contained in:
parent
43bdfbf170
commit
09a6df1fdc
4 changed files with 11 additions and 2 deletions
|
@ -33,6 +33,12 @@ void BaseIntegration::logMessage(const QString &message) {
|
||||||
Logs::writeMain(message);
|
Logs::writeMain(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void BaseIntegration::setCrashAnnotation(
|
||||||
|
const std::string &key,
|
||||||
|
const QString &value) {
|
||||||
|
CrashReports::SetAnnotation(key, value);
|
||||||
|
}
|
||||||
|
|
||||||
void BaseIntegration::logAssertionViolation(const QString &info) {
|
void BaseIntegration::logAssertionViolation(const QString &info) {
|
||||||
Logs::writeMain("Assertion Failed! " + info);
|
Logs::writeMain("Assertion Failed! " + info);
|
||||||
CrashReports::SetAnnotation("Assertion", info);
|
CrashReports::SetAnnotation("Assertion", info);
|
||||||
|
|
|
@ -20,6 +20,9 @@ public:
|
||||||
void logMessageDebug(const QString &message) override;
|
void logMessageDebug(const QString &message) override;
|
||||||
void logMessage(const QString &message) override;
|
void logMessage(const QString &message) override;
|
||||||
void logAssertionViolation(const QString &info) override;
|
void logAssertionViolation(const QString &info) override;
|
||||||
|
void setCrashAnnotation(
|
||||||
|
const std::string &key,
|
||||||
|
const QString &value) override;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d932f5048317b05dd414116741d995c82a528542
|
Subproject commit 72f9e778be5503b918d8677c8216360695767835
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1ceaa0bbcfccb83dbf7f51d7f80a733ff2aa8c22
|
Subproject commit 14cc3ff52b9611cbfde472fd8c12001a9a3ac6ec
|
Loading…
Add table
Reference in a new issue