https://github.com/joneschrisg/android-system-core/blob/master/liblog/logd_write.c 帮忙在
int __android_log_print(int prio, const char *tag, const char *fmt, ...)
{
va_list ap;
char buf[LOG_BUF_SIZE];
va_start(ap, fmt);
vsnprintf(buf, LOG_BUF_SIZE, fmt, ap);
va_end(ap);
return __android_log_write(prio, tag, buf);
}
加一个保存文件 可以写死到/sdcard/ 联系:Y3N1bHli