1 4 package com.tc.logging; 5 6 11 public interface TCLogger { 12 void debug(Object message); 13 14 void debug(Object message, Throwable t); 15 16 void error(Object message); 17 18 void error(Object message, Throwable t); 19 20 void fatal(Object message); 21 22 void fatal(Object message, Throwable t); 23 24 void info(Object message); 25 26 void info(Object message, Throwable t); 27 28 void warn(Object message); 29 30 void warn(Object message, Throwable t); 31 32 void log(LogLevel level, Object message); 33 34 void log(LogLevel level, Object message, Throwable t); 35 36 boolean isDebugEnabled(); 37 38 boolean isInfoEnabled(); 39 40 void setLevel(LogLevel level); 41 42 LogLevel getLevel(); 43 44 String getName(); 45 } 46 | Popular Tags |