mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 06:00:10 +00:00
22 lines
652 B
Diff
22 lines
652 B
Diff
--- a/src/core/util/android/log.cc
|
|
+++ b/src/core/util/android/log.cc
|
|
@@ -27,18 +27,6 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
-static android_LogPriority severity_to_log_priority(gpr_log_severity severity) {
|
|
- switch (severity) {
|
|
- case GPR_LOG_SEVERITY_DEBUG:
|
|
- return ANDROID_LOG_DEBUG;
|
|
- case GPR_LOG_SEVERITY_INFO:
|
|
- return ANDROID_LOG_INFO;
|
|
- case GPR_LOG_SEVERITY_ERROR:
|
|
- return ANDROID_LOG_ERROR;
|
|
- }
|
|
- return ANDROID_LOG_DEFAULT;
|
|
-}
|
|
-
|
|
void gpr_log(const char* file, int line, gpr_log_severity severity,
|
|
const char* format, ...) {
|
|
/* Avoid message construction if gpr_log_message won't log */
|