android:fix log output format error
This commit is contained in:
parent
053e06ff2e
commit
7570278352
@ -291,13 +291,13 @@ public class DoricJSEngine implements Handler.Callback, DoricTimerExtension.Time
|
|||||||
public void onLog(int type, String message) {
|
public void onLog(int type, String message) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case Log.ERROR:
|
case Log.ERROR:
|
||||||
DoricLog.suffix_e("_js", message);
|
DoricLog.suffix_e("_js", "%s", message);
|
||||||
break;
|
break;
|
||||||
case Log.WARN:
|
case Log.WARN:
|
||||||
DoricLog.suffix_w("_js", message);
|
DoricLog.suffix_w("_js", "%s", message);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DoricLog.suffix_d("_js", message);
|
DoricLog.suffix_d("_js", "%s", message);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user