Skip to content

Commit 471bd3d

Browse files
author
Mihail Slavchev
committed
fix logging
1 parent fdd6fa6 commit 471bd3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/src/com/tns/JsDebugger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public void run()
313313

314314
int getDebuggerPortFromEnvironment()
315315
{
316-
Log.d(Platform.DEFAULT_LOG_TAG, "getDebuggerPortFromEnvironment");
316+
if (Platform.IsLogEnabled) Log.d(Platform.DEFAULT_LOG_TAG, "getDebuggerPortFromEnvironment");
317317
int port = INVALID_PORT;
318318

319319
boolean shouldEnableDebuggingFlag = shouldEnableDebugging(context);

0 commit comments

Comments
 (0)