1 22 package org.jboss.logging; 23 24 34 public interface LoggerPlugin 35 { 36 41 void init(String name); 42 43 49 boolean isTraceEnabled(); 50 51 56 void trace(Object message); 57 58 64 void trace(Object message, Throwable t); 65 66 73 boolean isDebugEnabled(); 74 75 80 void debug(Object message); 81 82 88 void debug(Object message, Throwable t); 89 90 97 boolean isInfoEnabled(); 98 99 104 void info(Object message); 105 106 112 void info(Object message, Throwable t); 113 114 119 void warn(Object message); 120 121 127 void warn(Object message, Throwable t); 128 129 134 void error(Object message); 135 136 142 void error(Object message, Throwable t); 143 144 149 void fatal(Object message); 150 151 157 void fatal(Object message, Throwable t); 158 } 159 | Popular Tags |