mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
Avoid __android_log_vprint which can truncate messages. Also add MESA_LOG=wait to lower the chance of logger_android dropping messages. Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21454>
20 lines
319 B
C++
20 lines
319 B
C++
#include <android/log.h>
|
|
|
|
extern "C" {
|
|
|
|
int __android_log_write(int prio, const char* tag, const char* text)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int __android_log_print(int prio, const char* tag, const char* fmt, ...)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
}
|