mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -04:00
Refactor Logs
This commit is contained in:
parent
0e2f585cd4
commit
13c815492a
@ -1,7 +1,6 @@
|
|||||||
package org.kiwix.kiwixmobile.webserver;
|
package org.kiwix.kiwixmobile.webserver;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.util.Log;
|
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
||||||
@ -23,7 +22,6 @@ public class WebServerHelper {
|
|||||||
public static boolean isStarted;
|
public static boolean isStarted;
|
||||||
static int port;
|
static int port;
|
||||||
private CoordinatorLayout coordinatorLayout;
|
private CoordinatorLayout coordinatorLayout;
|
||||||
String TAG = WebServerHelper.this.getClass().getSimpleName();
|
|
||||||
|
|
||||||
public WebServerHelper(Context context) {
|
public WebServerHelper(Context context) {
|
||||||
this.context = context;
|
this.context = context;
|
||||||
@ -93,7 +91,6 @@ public class WebServerHelper {
|
|||||||
ip += "Something Wrong! " + e.toString() + "\n";
|
ip += "Something Wrong! " + e.toString() + "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.v("TAG", "Returning : " + "http://" + ip);
|
|
||||||
return "http://" + ip;
|
return "http://" + ip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user