Exemple #1
0
 /**
  * Print out an exception to the log.
  *
  * @param source String: the source bean
  * @param method String: the source method
  * @param ex Exception: the exception
  */
 protected static void printException(String source, String method, Exception ex) {
   if (Utility.init()) {
     logWriter.printException(source, method, "", ex);
   }
 }
Exemple #2
0
 /**
  * Print out a message to the log.
  *
  * @param source String: the source bean
  * @param method String: the source method
  * @param message String: the message
  */
 protected static void println(String source, String method, String message) {
   if (Utility.init()) {
     logWriter.println(source, method, "", message);
   }
 }