Example #1
0
 public static void fatal(String s, Throwable throwable) {
   if (isFatalEnabled()) {
     errorLog.fatalError(s, throwable);
     if (isDebugEnabled()) {
       printToStdErr(s, throwable);
     }
   }
 }
Example #2
0
 public static void fatal(Throwable throwable) {
   if (isFatalEnabled()) {
     errorLog.fatalError("", throwable);
     if (isDebugEnabled()) {
       printToStdErr(null, throwable);
     }
   }
 }
Example #3
0
 public static void fatal(String s) {
   if (isFatalEnabled()) {
     errorLog.fatalError(s);
     if (isDebugEnabled()) {
       printToStdErr(s, null);
     }
   }
 }
Example #4
0
 public static void error(String s, Throwable throwable) {
   if (isErrorEnabled()) {
     errorLog.error(s, throwable);
     if (isDebugEnabled()) {
       printToStdErr(s, throwable);
     }
   }
 }
Example #5
0
 public static void error(Throwable throwable) {
   if (isErrorEnabled()) {
     errorLog.error("", throwable);
     if (isDebugEnabled()) {
       printToStdErr(null, throwable);
     }
   }
 }
Example #6
0
 public static void error(String s) {
   if (isErrorEnabled()) {
     errorLog.error(s);
     if (isDebugEnabled()) {
       printToStdErr(s, null);
     }
   }
 }