public static void log(final String msg,final Throwable t){
  if (DEBUG) {
    log(msg);
    t.printStackTrace(System.out);
  }
}

public static void log ( final String msg , final Throwable t ) { if ( DEBUG ) { log ( msg ) ; t . printStackTrace ( System . out ) ; } }
prints msg and exception to system . out .
