From 1331b1c6d6e5ccb0a3218947cdce5c11b5801347 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Sat, 30 Mar 2024 19:02:47 -0500 Subject: [PATCH] Fix log assertions ggml --- native/jni/src/ggml/ggml.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/jni/src/ggml/ggml.h b/native/jni/src/ggml/ggml.h index 058feebd8..150bbbf64 100644 --- a/native/jni/src/ggml/ggml.h +++ b/native/jni/src/ggml/ggml.h @@ -208,8 +208,8 @@ #include #include #include -#define GAKLOGE(fmt, ...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, fmt, ##__VA_ARGS__) -#define GAKLOGI(fmt, ...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, fmt, ##__VA_ARGS__) +#define GAKLOGE(fmt, ...) __android_log_print(ANDROID_LOG_ERROR, "GGML", fmt, ##__VA_ARGS__) +#define GAKLOGI(fmt, ...) __android_log_print(ANDROID_LOG_INFO, "GGML", fmt, ##__VA_ARGS__) #define GGML_FILE_MAGIC 0x67676d6c // "ggml" #define GGML_FILE_VERSION 1