1 2 3 27 28 29 package org.apache.catalina; 30 31 32 import java.beans.PropertyChangeListener ; 33 34 35 44 45 public interface Logger { 46 47 48 50 51 55 56 public static final int FATAL = Integer.MIN_VALUE; 57 58 public static final int ERROR = 1; 59 60 public static final int WARNING = 2; 61 62 public static final int INFORMATION = 3; 63 64 public static final int DEBUG = 4; 65 66 67 69 70 73 public Container getContainer(); 74 75 76 81 public void setContainer(Container container); 82 83 84 89 public String getInfo(); 90 91 92 96 public int getVerbosity(); 97 98 99 105 public void setVerbosity(int verbosity); 106 107 108 110 111 116 public void addPropertyChangeListener(PropertyChangeListener listener); 117 118 119 127 public void log(String message); 128 129 130 141 public void log(Exception exception, String msg); 142 143 144 154 public void log(String message, Throwable throwable); 155 156 157 166 public void log(String message, int verbosity); 167 168 169 179 public void log(String message, Throwable throwable, int verbosity); 180 181 182 187 public void removePropertyChangeListener(PropertyChangeListener listener); 188 189 190 } 191 | Popular Tags |