1 18 19 package org.objectweb.util.monolog.api; 20 21 import java.util.Enumeration ; 22 23 45 public interface TopicalLogger extends Logger { 46 47 50 55 void addHandler(Handler h) throws Exception ; 56 57 61 Handler[] getHandler(); 62 63 68 Handler getHandler(String hn); 69 70 74 void removeHandler(Handler h) throws Exception ; 75 76 80 void removeAllHandlers() throws Exception ; 81 82 85 void setAdditivity(boolean a); 86 87 90 boolean getAdditivity(); 91 92 93 94 97 103 void addTopic(String topic) throws Exception ; 104 105 108 String [] getTopic(); 109 110 114 Enumeration getTopics(); 115 116 122 void removeTopic(String topic) throws Exception ; 123 } 124 | Popular Tags |