1 17 18 package org.apache.avalon.logging.provider; 19 20 import java.io.File ; 21 import java.net.URL ; 22 import java.util.Map ; 23 24 import org.apache.avalon.framework.logger.Logger; 25 26 34 public interface LoggingCriteria extends Map 35 { 36 40 43 String LOGGING_CONFIGURATION_KEY = 44 "avalon.logging.configuration"; 45 46 49 String LOGGING_BOOTSTRAP_KEY = 50 "avalon.logging.bootstrap"; 51 52 58 String LOGGING_BASEDIR_KEY = 59 "avalon.logging.basedir"; 60 61 66 String LOGGING_INTERVAL_KEY = 67 "avalon.logging.update"; 68 69 72 String LOGGING_DEBUG_KEY = 73 "avalon.logging.debug"; 74 75 79 void setDebugEnabled( boolean mode ); 80 81 85 void setBootstrapLogger( Logger logger ); 86 87 91 void setBaseDirectory( File dir ); 92 93 97 void setLoggingConfiguration( URL url ); 98 99 103 Logger getBootstrapLogger(); 104 105 109 File getBaseDirectory(); 110 111 117 boolean isDebugEnabled(); 118 119 123 URL getLoggingConfiguration(); 124 125 128 long getUpdateInterval(); 129 130 } 131 | Popular Tags |