Ejemplo n.º 1
0
Archivo: U.java Proyecto: abinns/bdmds
 /**
  * Prints the specified warning
  *
  * @param input some warning text
  */
 public static void w(String input) {
   U.printWithTag(input, "WARNING");
 }
Ejemplo n.º 2
0
Archivo: U.java Proyecto: 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");
 }
Ejemplo n.º 3
0
Archivo: U.java Proyecto: 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");
 }
Ejemplo n.º 4
0
Archivo: U.java Proyecto: 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();
 }
Ejemplo n.º 5
0
Archivo: U.java Proyecto: abinns/bdmds
 /**
  * Prints this string as an error
  *
  * @param in the string to print
  */
 public static void e(String in) {
   U.printWithTag(in, "ERROR");
 }
Ejemplo n.º 6
0
Archivo: U.java Proyecto: 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");
 }