package com.genymobile.relay;

public class Log {

    private Log() {
    }

    public static void d(String tag, String message) {
        System.out.println("[" + tag + "] " + message);
    }

    public static void e(String tag, String message, Throwable e) {
        System.err.println("[" + tag + "] " + message);
        e.printStackTrace();
    }

    public static void e(String tag, String message) {
        System.err.println("[" + tag + "] " + message);
    }
}

@@ -28,47 +28,408 @@
 y;%0A%0A
-public class Log %7B%0A%0A    private Log() %7B
+import java.text.DateFormat;%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Date;%0A%0Apublic class Log %7B%0A%0A    private static final DateFormat FORMAT = new SimpleDateFormat(%22YYYY-MM-dd HH:mm:ss.S%22);%0A    private static final Date date = new Date();%0A%0A    private Log() %7B%0A    %7D%0A%0A    private static String getDate() %7B%0A        date.setTime(System.currentTimeMillis());%0A        return FORMAT.format(date);
 %0A   
@@ -506,33 +506,46 @@
 tem.out.println(
-%22
+getDate() + %22 
 %5B%22 + tag + %22%5D %22 
@@ -650,33 +650,46 @@
 tem.err.println(
-%22
+getDate() + %22 
 %5B%22 + tag + %22%5D %22 
@@ -818,17 +818,30 @@
 println(
-%22
+getDate() + %22 
 %5B%22 + tag

Add date/time to logs