1 26 27 package org.objectweb.util.monolog.provider.api; 28 29 import java.util.Properties ; 30 31 import org.objectweb.util.monolog.api.LevelFactory; 32 import org.objectweb.util.monolog.api.Logger; 33 import org.objectweb.util.monolog.api.LoggerFactory; 34 35 39 public interface LoggerProvider { 41 44 47 public LevelFactory getLevelFactory(); 48 49 52 public void configure(String file, boolean useclasspath); 53 54 57 public Properties getProperties(); 58 59 63 public LoggerFactory getLoggerFactory(); 64 65 68 73 public Logger getLogger(String topic); 74 75 81 public Logger getLogger(String topic, Class caller); 82 83 90 public Logger createLogger(String topic, Class caller, String [] description); 91 92 95 98 public String getTopicLevel(String topic); 99 100 104 public String [] getTopics(); 105 106 109 public void setTopicLevel(String topic, String l); 110 111 } | Popular Tags |