api-impl: use liblog for android.util.Log; use Log.v for debugging prints and Log.w for stub tracing

This commit is contained in:
Mis012
2023-09-06 17:42:24 +02:00
parent 49861ce4dd
commit 90cb1c925a
11 changed files with 181 additions and 54 deletions

View File

@@ -364,11 +364,5 @@ public final class Log {
/**
* @hide
*/
public static /*native*/ int
println_native(int bufID,
int priority, String tag, String msg) {
String out = String.format("`¯´[%d][%d] [%s] : %s", bufID, priority, tag, msg);
System.out.println(out);
return out.getBytes().length;
}
public static native int println_native(int bufID, int priority, String tag, String msg);
}