1 18 19 package org.objectweb.util.monolog.api; 20 21 29 public interface Logger extends Handler { 30 31 34 void setIntLevel(int level); 35 36 39 void setLevel(Level l); 40 41 44 int getCurrentIntLevel(); 45 46 49 Level getCurrentLevel(); 50 51 54 boolean isLoggable(int level); 55 56 59 boolean isLoggable(Level l); 60 61 64 boolean isOn(); 65 66 71 void log(int level, Object message); 72 77 void log(Level level, Object message); 78 79 83 void log(int level, Object message, Throwable throwable); 84 88 void log(Level level, Object message, Throwable throwable); 89 90 91 98 void log(int level, Object message, Object location, Object method); 99 106 void log(Level l, Object message, Object location, Object method); 107 108 116 void log(int level, Object message, Throwable throwable, 117 Object location, Object method); 118 126 void log(Level level, Object message, Throwable throwable, 127 Object location, Object method); 128 129 132 void turnOn(); 133 134 137 void turnOff(); 138 139 } 140 | Popular Tags |