2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Added ability to disable debug logs even for debug builds.

This commit is contained in:
23rd
2024-11-25 17:59:44 +03:00
parent a9824fde91
commit 489c86dad8
2 changed files with 4 additions and 4 deletions

View File

@@ -335,11 +335,7 @@ void SetDebugEnabled(bool enabled) {
}
bool DebugEnabled() {
#if defined _DEBUG
return true;
#else
return DebugModeEnabled;
#endif
}
bool WritingEntry() {