示例#1
0
文件: Log.java 项目: nihed/magnetism
 public static void fatal(String s, Throwable throwable) {
   if (isFatalEnabled()) {
     errorLog.fatalError(s, throwable);
     if (isDebugEnabled()) {
       printToStdErr(s, throwable);
     }
   }
 }
示例#2
0
文件: Log.java 项目: nihed/magnetism
 public static void fatal(Throwable throwable) {
   if (isFatalEnabled()) {
     errorLog.fatalError("", throwable);
     if (isDebugEnabled()) {
       printToStdErr(null, throwable);
     }
   }
 }
示例#3
0
文件: Log.java 项目: nihed/magnetism
 public static void fatal(String s) {
   if (isFatalEnabled()) {
     errorLog.fatalError(s);
     if (isDebugEnabled()) {
       printToStdErr(s, null);
     }
   }
 }
示例#4
0
文件: Log.java 项目: nihed/magnetism
 public static void error(String s, Throwable throwable) {
   if (isErrorEnabled()) {
     errorLog.error(s, throwable);
     if (isDebugEnabled()) {
       printToStdErr(s, throwable);
     }
   }
 }
示例#5
0
文件: Log.java 项目: nihed/magnetism
 public static void error(Throwable throwable) {
   if (isErrorEnabled()) {
     errorLog.error("", throwable);
     if (isDebugEnabled()) {
       printToStdErr(null, throwable);
     }
   }
 }
示例#6
0
文件: Log.java 项目: nihed/magnetism
 public static void error(String s) {
   if (isErrorEnabled()) {
     errorLog.error(s);
     if (isDebugEnabled()) {
       printToStdErr(s, null);
     }
   }
 }