summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn/OpenVPN.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-11-07 21:43:55 +0100
committerParménides GV <parmegv@sdf.org>2013-11-07 21:46:34 +0100
commitd6286fe0cefc46fc5cd197946311ddf494393ae1 (patch)
treee11fb85d62f39e5c0cc5c357193785b06923e7ce /src/se/leap/openvpn/OpenVPN.java
parent6ff02fbc614756991220dacf910dc447a4046f06 (diff)
Logbuffer copied to Logcat.
Diffstat (limited to 'src/se/leap/openvpn/OpenVPN.java')
-rw-r--r--src/se/leap/openvpn/OpenVPN.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/se/leap/openvpn/OpenVPN.java b/src/se/leap/openvpn/OpenVPN.java
index c6055abd..d7d17b4f 100644
--- a/src/se/leap/openvpn/OpenVPN.java
+++ b/src/se/leap/openvpn/OpenVPN.java
@@ -9,6 +9,7 @@ import se.leap.bitmaskclient.R;
import android.content.Context;
import android.os.Build;
+import android.util.Log;
public class OpenVPN {
@@ -57,6 +58,7 @@ public class OpenVPN {
public LogItem(String message) {
+
mMessage = message;
}
@@ -113,7 +115,7 @@ public class OpenVPN {
synchronized static void logMessage(int level,String prefix, String message)
{
newlogItem(new LogItem(prefix + message));
-
+ Log.d("OpenVPN log item", message);
}
synchronized static void clearLog() {