You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by mo...@apache.org on 2019/04/01 02:19:09 UTC
[incubator-weex] branch master updated: [WeexCore] Remove log that
isn't necessary and may cause performance issue.
This is an automated email from the ASF dual-hosted git repository.
moshen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new ba4147c [WeexCore] Remove log that isn't necessary and may cause performance issue.
new 591c684 Merge pull request #2252 from sunshl/bugfix_cpplog
ba4147c is described below
commit ba4147c82d9c740d4884b1d96e89261d520b2d23
Author: huanglei.hl <hu...@alibaba-inc.com>
AuthorDate: Wed Mar 27 22:12:19 2019 +0800
[WeexCore] Remove log that isn't necessary and may cause performance issue.
---
weex_core/Source/core/config/core_environment.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/weex_core/Source/core/config/core_environment.cpp b/weex_core/Source/core/config/core_environment.cpp
index 8fb71d2..128d959 100644
--- a/weex_core/Source/core/config/core_environment.cpp
+++ b/weex_core/Source/core/config/core_environment.cpp
@@ -71,9 +71,7 @@ namespace WeexCore {
const std::string WXCoreEnvironment::GetOption(const std::string &key) {
std::map<std::string, std::string>::iterator iter = mOptions.find(key);
- LOGE("KEY = %s", key.c_str());
if (iter != mOptions.end()) {
- LOGE("KEY = %s, VALUE = %s", key.c_str(), iter->second.c_str());
return iter->second;
} else {
return "";