0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-29 00:12:47 +00:00
Files
termux-packages/packages/telegram-bot-api/logging.cpp.patch
2022-11-20 15:37:23 +00:00

12 lines
395 B
Diff

--- a/td/tdutils/td/utils/logging.cpp
+++ b/td/tdutils/td/utils/logging.cpp
@@ -152,7 +152,7 @@ Logger::~Logger() {
class DefaultLog final : public LogInterface {
void do_append(int log_level, CSlice slice) final {
-#if TD_ANDROID
+#if TD_ANDROID_EXCLUDE
switch (log_level) {
case VERBOSITY_NAME(FATAL):
__android_log_write(ANDROID_LOG_FATAL, ALOG_TAG, slice.c_str());