You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/01/08 04:16:45 UTC
[GitHub] wqyfavor commented on a change in pull request #2014: [iOS] fix
customEnvironment crash
wqyfavor commented on a change in pull request #2014: [iOS] fix customEnvironment crash
URL: https://github.com/apache/incubator-weex/pull/2014#discussion_r245873440
##########
File path: ios/sdk/WeexSDK/Sources/Utility/WXLog.m
##########
@@ -87,8 +87,6 @@ + (void)setLogLevel:(WXLogLevel)level
{
if (((WXLog*)[self sharedInstance])->_logLevel != level) {
((WXLog*)[self sharedInstance])->_logLevel = level;
Review comment:
直接改成((WXLog*)[self sharedInstance])->_logLevel = level;不要if判断了
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services