1 16 package org.directwebremoting.util; 17 18 24 public interface LoggingOutput 25 { 26 30 public static final int LEVEL_FATAL = 5; 31 32 36 public static final int LEVEL_ERROR = 4; 37 38 42 public static final int LEVEL_WARN = 3; 43 44 47 public static final int LEVEL_INFO = 2; 48 49 52 public static final int LEVEL_DEBUG = 1; 53 54 58 public void debug(String message); 59 60 64 public void info(String message); 65 66 70 public void warn(String message); 71 72 77 public void warn(String message, Throwable th); 78 79 83 public void error(String message); 84 85 90 public void error(String message, Throwable th); 91 92 96 public void fatal(String message); 97 98 103 public void fatal(String message, Throwable th); 104 105 109 public boolean isDebugEnabled(); 110 } 111 | Popular Tags |