package com.athaydes.jgrab.log;

/**
 * Internal logger.
 */
public class Logger {

    private static final String XXX = "--------------";

    public static void log( String message ) {
        System.err.println( message );
    }

    public static void logPhase( String phase ) {
        System.err.println( XXX + " " + phase + " " + XXX );
    }

}

@@ -134,16 +134,99 @@
 ----%22;%0A%0A
+    private static boolean enabled = System.getProperty( %22jgrab.debug%22 ) != null;%0A%0A
     publ
@@ -263,32 +263,47 @@
 sage ) %7B%0A       
+ if ( enabled )
  System.err.prin
@@ -375,23 +375,38 @@
 ase ) %7B%0A
-
        
+ if ( enabled )
  System.

Enable logger only if system property is activated.