Skip to content

Commit

Permalink
Merge pull request #4341 from pingwang2011/timob-13916-3_1_X
Browse files Browse the repository at this point in the history
Timob 13916 3 1 x: Android: Packaging - Debug information is being printed out to DDMS when packaging to production
  • Loading branch information
srahim committed May 31, 2013
2 parents bc78388 + aec3ebb commit b0e128d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/runtime/v8/src/native/modules/APIModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ void APIModule::logInternal(int logLevel, const char *messageTag, const char *me
if (logLevel == LOG_LEVEL_TRACE) {
__android_log_write(ANDROID_LOG_VERBOSE, messageTag, message);
} else if (logLevel < LOG_LEVEL_INFO) {
if (!V8Runtime::DBG) {
return;
}
__android_log_write(ANDROID_LOG_DEBUG, messageTag, message);
} else if (logLevel < LOG_LEVEL_WARN) {
__android_log_write(ANDROID_LOG_INFO, messageTag, message);
Expand Down

0 comments on commit b0e128d

Please sign in to comment.