@@ -0,0 +1,784 @@
+/**%0D%0A * %0D%0A */%0D%0Apackage CLInterface;%0D%0A%0D%0A/**%0D%0A * Quick and dirty Logger class that accepts messages to log and either logs them if possible, or else discards them %0D%0A * @author Chris Tandiono%0D%0A */%0D%0Apublic class Printer %7B%0D%0A%09%0D%0A%09public static void log(String message) %7B%0D%0A%09%09if (ConverterConfig.DEBUG != null && message != null) %7B%0D%0A%09%09%09ConverterConfig.DEBUG.println(message);%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09%0D%0A%09public static void log(String... args) %7B%0D%0A%09%09for (int i = 0; i %3C args.length; i++) %7B%0D%0A%09%09%09log(args%5Bi%5D);%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09%0D%0A%09public static void output(String message) %7B%0D%0A%09%09if (ConverterConfig.OUTPUT != null && message != null) %7B%0D%0A%09%09%09ConverterConfig.OUTPUT.println(message);%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09%0D%0A%09public static void output(String... args) %7B%0D%0A%09%09for (int i = 0; i %3C args.length; i++) %7B%0D%0A%09%09%09output(args%5Bi%5D);%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%09%0D%0A%7D%0D%0A

Create a new Printer class to aid with abstracting away printing debug and output messages.