How to use log the result to the console

To log the result to a log file or ‘standard out’ use a ConsolePresenter

new PDFComparer()
            .addPresenter( new ConsolePresenter() )
            .compare( <file1>, <file2>  );

View full sourcecode