[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Log update iOS compile error. (#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
wqyfavor authored and YorkShen committed May 29, 2019
1 parent 8534d99 commit a3d14b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Bridge/WXCoreBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ virtual void log(LogLevel level, const char* tag, const char* file, unsigned lon
break;
}

[WXLog devLog:wxLogLevel file:file line:line format:@"<%s> %s", WEEX_CORE_LOG_TAG, log];
[WXLog devLog:wxLogLevel file:file line:line format:@"<%s> %s", tag, log];
#endif
}
};
Expand Down
2 changes: 1 addition & 1 deletion weex_core/Source/base/log_defines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ namespace WeexCore {
LogBridge* logBridge = WeexCore::WeexCoreManager::Instance()->get_log_bridge();
if (logBridge) {
// Log to bridge
logBridge->log(level, file, line, log.str());
logBridge->log(level, tag, file, line, log.str());
}
else {
// Log to console by default
Expand Down

0 comments on commit a3d14b3

Please sign in to comment.