~tapaal-contributor/tapaal/autodetect-lens-check2

« back to all changes in this revision

Viewing changes to src/dk/aau/cs/debug/Logger.java

merged in lp:~yrke/tapaal/evenMore-gui-cleanup doing GUI cleanup and fixing memory access check, about menu in Mac, exception in verification and reenabled quick draw

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
                if (enableDebug) {
22
22
                        logDevice.println(log);
23
23
                }
24
 
 
25
24
        }
26
25
 
 
26
    public static void log(Exception e) {
 
27
        if (enableDebug) {
 
28
            e.printStackTrace();
 
29
        }
 
30
    }
 
31
 
27
32
        public static void log(Object log) {
28
33
                if (enableDebug) {
29
34
                        logDevice.println(log.toString());
30
35
                }
31
 
 
32
36
        }
33
37
 
34
38
}