1 25 package com.mysql.jdbc.log; 26 27 34 public interface Log { 35 40 boolean isDebugEnabled(); 41 42 47 boolean isErrorEnabled(); 48 49 54 boolean isFatalEnabled(); 55 56 61 boolean isInfoEnabled(); 62 63 68 boolean isTraceEnabled(); 69 70 75 boolean isWarnEnabled(); 76 77 83 void logDebug(Object msg); 84 85 93 void logDebug(Object msg, Throwable thrown); 94 95 101 void logError(Object msg); 102 103 111 void logError(Object msg, Throwable thrown); 112 113 119 void logFatal(Object msg); 120 121 129 void logFatal(Object msg, Throwable thrown); 130 131 137 void logInfo(Object msg); 138 139 147 void logInfo(Object msg, Throwable thrown); 148 149 155 void logTrace(Object msg); 156 157 165 void logTrace(Object msg, Throwable thrown); 166 167 173 void logWarn(Object msg); 174 175 183 void logWarn(Object msg, Throwable thrown); 184 } | Popular Tags |