示例#1
0
文件: U.java 项目: abinns/bdmds
 /**
  * Prints the specified warning
  *
  * @param input some warning text
  */
 public static void w(String input) {
   U.printWithTag(input, "WARNING");
 }
示例#2
0
文件: U.java 项目: abinns/bdmds
 /**
  * Prints the specified string as general output.
  *
  * @param in the string to print.
  */
 public static void p(String in) {
   U.printWithTag(in, "OUTPUT");
 }
示例#3
0
文件: U.java 项目: abinns/bdmds
 /**
  * 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");
 }
示例#4
0
文件: U.java 项目: abinns/bdmds
 /**
  * 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();
 }
示例#5
0
文件: U.java 项目: abinns/bdmds
 /**
  * Prints this string as an error
  *
  * @param in the string to print
  */
 public static void e(String in) {
   U.printWithTag(in, "ERROR");
 }
示例#6
0
文件: U.java 项目: abinns/bdmds
 /**
  * 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");
 }