YorkShen opened a new pull request #2540: [Android] developers could change log level using javascript URL: https://github.com/apache/incubator-weex/pull/2540 1. Add ConsoleLogModule, developers could change log using javascript. Ref demo http://editor.weex.io/vue/8fb63b977fad1bf816b9a9ad79a43fbd 1. Print log to logcat and devtool only if WXEnviroment.sLogLevel is bigger than the log being printed. 1. Change WXEnviroment.sLogLevel to INFO under debug apk, change it to WARN otherwise. Before this change WXEnvironment.sApplication was always null when initializing WXEnviroment.sLogLevel, so WXEnviroment.sLogLevel was always debug regardless it's actually debuggable or not. 1. Enable LogI no matter it's debuggable or not. 1. Change the value of LogLevel.value, which should have no influence.
---------------------------------------------------------------- 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
