}
private static String lastClassName = null;
+
+ public static void printStackTrace(Object o, int level) {
+ try {
+ throw new Exception();
+ } catch (Exception e) {
+ log(o, e, level);
+ }
+ }
private static synchronized void log(Object o, Object message, int level) {
if (level < Log.level) return;
if (firstMessage && !logDates) {