Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 1bdd549e authored by Iskra Delta's avatar Iskra Delta Committed by AndyScherzinger
Browse files

Output more/full stacktrace to logs

parent 52fa00af
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Calendar;


@@ -43,7 +44,7 @@ public class Log_OC {
    }
    public static void d(String TAG, String message, Exception e) {
        Log.d(TAG, message, e);
        appendLog(TAG + " : " + message + " Exception : "+ e.getStackTrace());
        appendLog(TAG + " : " + message + " Exception : "+ Arrays.toString(e.getStackTrace()));
    }
    public static void e(String TAG, String message){
        Log.e(TAG, message);
@@ -52,7 +53,7 @@ public class Log_OC {
    
    public static void e(String TAG, String message, Throwable e) {
        Log.e(TAG, message, e);
        appendLog(TAG+" : " + message +" Exception : " + e.getStackTrace());
        appendLog(TAG+" : " + message +" Exception : " + Arrays.toString(e.getStackTrace()));
    }
    
    public static void v(String TAG, String message){