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:
@@ -335,11 +335,7 @@ void SetDebugEnabled(bool enabled) {
|
||||
}
|
||||
|
||||
bool DebugEnabled() {
|
||||
#if defined _DEBUG
|
||||
return true;
|
||||
#else
|
||||
return DebugModeEnabled;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool WritingEntry() {
|
||||
|
Reference in New Issue
Block a user