Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbdf5f06 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Enable liblog_stub to work with variable tags" into main am: 90bfb135

parents dd47876f 90bfb135
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -60,8 +60,8 @@ int __android_log_print(int prio, const char* tag, const char* fmt, ...)
            std::fprintf(stderr, fmt __VA_OPT__(, ) __VA_ARGS__);            \
        }                                                                    \
        IF_ALOG(priority, tag) {                                             \
            __android_log_print(ANDROID_##priority, tag,                       \
                                tag ": " fmt "\n" __VA_OPT__(, ) __VA_ARGS__); \
            __android_log_print(ANDROID_##priority, tag, "%s: " fmt "\n",    \
                                (tag)__VA_OPT__(, ) __VA_ARGS__);            \
        }                                                                    \
        if constexpr (ANDROID_##priority == ANDROID_LOG_FATAL) std::abort(); \
    } while (false)