/** * Prints the specified warning * * @param input some warning text */ public static void w(String input) { U.printWithTag(input, "WARNING"); }
/** * Prints the specified string as general output. * * @param in the string to print. */ public static void p(String in) { U.printWithTag(in, "OUTPUT"); }
/** * Prints the specified string and exception, for error logging. * * @param in the string to print * @param E the exception to also print. */ public static void e(String in, Throwable E) { U.printWithTag(in + " - " + E, "ERROR"); }
/** * Prints the specified string and exception, for error logging. * * @param in the string to print * @param E the exception to also print. */ public static void e(String in, Exception E) { U.printWithTag(in + " - " + E, "ERROR"); E.printStackTrace(); }
/** * Prints this string as an error * * @param in the string to print */ public static void e(String in) { U.printWithTag(in, "ERROR"); }
/** * Prints the specified string if the debug level specified is greater or equal to the current * debugging level specified in this class. * * @param in the string to print. * @param level the debugging level to print this message out at. */ public static void d(String in, int level) { if (U.debugging >= level) U.printWithTag(in, "DEBUG"); }