wangxiongtao commented on issue #2986: [Android]weex 0.20.3.0-beta版本以后使用Console.log打印日志再AndroidStudio打印不出来,是要做什么处理么 URL: https://github.com/apache/incubator-weex/issues/2986#issuecomment-547781104 > > > https://weex.apache.org/docs/modules/console-log.html > > > > > > <script> const logModule = weex.requireModule('sdk-console-log'); const toastModule = weex.requireModule('modal') export default { name: "TestDemo", created() { logModule.switchLogLevel("all", ()=> { toastModule.toast({ message: 'Success' }) console.log("==weex==>>>>>>>>>>>>>") }); } } </script> > > 这么使用的么 > > 这module只能打出weex-log,我在想要怎么打出我自定义的log.... 所以是不是要自定义一个log的module调用原生的log
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
