1 18 package org.objectweb.util.monolog.api; 19 20 import org.objectweb.util.monolog.api.LoggerFactory; 21 import org.objectweb.util.monolog.api.LevelFactory; 22 import org.objectweb.util.monolog.api.HandlerFactory; 23 import org.objectweb.util.monolog.api.MonologFactoryListener; 24 25 import java.util.Properties ; 26 27 33 public interface MonologFactory 34 extends LoggerFactory, LevelFactory, HandlerFactory { 35 36 40 String LOG_CONFIGURATION_TYPE = "log.config.type"; 41 42 47 String DEFAULT = "default"; 48 49 54 String PROPERTY = "property"; 55 56 61 String XML = "xml"; 62 63 66 String LOG_CONFIGURATION_FILE = "log.config.file"; 67 68 72 String LOG_CONFIGURATION_FILE_USE_CLASSPATH 73 = "log.config.file.useclasspath"; 74 75 86 void configure(Properties prop) throws Exception ; 87 88 91 void addMonologFactoryListener(MonologFactoryListener mfl); 92 93 96 void removeMonologFactoryListener (MonologFactoryListener mfl); 97 } 98 | Popular Tags |