Give it a try, and please let me know whether it works. A the JS log is printed from a seperated process, please disable the process filter(or any other log filter you have) in Android Studio.
Best Regards, YorkShen 申远 黄天宁 <[email protected]> 于2020年2月20日周四 上午11:39写道: > Dear devs: > I'm sorry to disturb you about the question about Js console log。After > checking all issues about it in github, some people have the same question > in 0.28。I tried it in a click event: > > > > *var logModule = > weex.requireModule('sdk-console-log');logModule.switchLogLevel("debug");* > *console.debug("=====>debug")* > *console.info <http://console.info>("*=====>info*")* > > And there throw an error log in WeexCore when i invoke click event in Js > Bundle: > > *WeexCore: setLog2isPerf : false* > *WeexCore: wx_bridge.cpp:284,WeexCore setLog Level 2 in Performance mode > false debug 2* > > *I can only find log about "*IPCFutexPageQueue.cpp*" * > *But the log "====>xxx" does not print on IDE.* > > Does your Js-log work all right ? Or there are some errors in usage for > Js-log by myself? > Thanks. >
