1 20 21 22 23 package org.snmp4j.log; 24 25 import java.util.Iterator ; 26 27 37 public interface LogAdapter { 38 39 44 boolean isDebugEnabled(); 45 46 51 boolean isInfoEnabled(); 52 53 58 boolean isWarnEnabled(); 59 60 65 void debug(Object message); 66 67 72 void info(Object message); 73 74 79 void warn(Object message); 80 81 86 void error(Object message); 87 88 95 void error(Object message, Throwable throwable); 96 97 102 void fatal(Object message); 103 104 111 void fatal(Object message, Throwable throwable); 112 113 119 void setLogLevel(LogLevel level); 120 121 127 LogLevel getLogLevel(); 128 129 137 LogLevel getEffectiveLogLevel(); 138 139 144 String getName(); 145 146 152 Iterator getLogHandler(); 153 } 154 | Popular Tags |