|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LoggingCriteria is convinience interface that extends Map with a set of operations that enable easy manipulation of the logging system parameters.
Nested Class Summary |
Nested classes inherited from class java.util.Map |
Map.Entry |
Field Summary | |
static String |
LOGGING_BASEDIR_KEY
The key of a the criteria argument that declares the base directory to be used for persistent content. |
static String |
LOGGING_BOOTSTRAP_KEY
The logging system bootstrap logger key. |
static String |
LOGGING_CONFIGURATION_KEY
The logging configuration key. |
static String |
LOGGING_DEBUG_KEY
Debug mode. |
static String |
LOGGING_INTERVAL_KEY
Update Interval. |
Method Summary | |
File |
getBaseDirectory()
Returns the base directory for logging resources. |
Logger |
getBootstrapLogger()
Get the bootstrap logging channel |
URL |
getLoggingConfiguration()
Returns an external logging system configuration file |
long |
getUpdateInterval()
Returns the logging configuration update interval. |
boolean |
isDebugEnabled()
Returns debug policy. |
void |
setBaseDirectory(File dir)
Set the base directory. |
void |
setBootstrapLogger(Logger logger)
Set the bootstrap logging channel |
void |
setDebugEnabled(boolean mode)
Set the debug enabled policy |
void |
setLoggingConfiguration(URL url)
Set the configuration URL. |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
public static final String LOGGING_CONFIGURATION_KEY
public static final String LOGGING_BOOTSTRAP_KEY
public static final String LOGGING_BASEDIR_KEY
public static final String LOGGING_INTERVAL_KEY
public static final String LOGGING_DEBUG_KEY
Method Detail |
public void setDebugEnabled(boolean mode)
mode
- TRUE to enabled debug mode else FALSEpublic void setBootstrapLogger(Logger logger)
logger
- the boootstrap logging channelpublic void setBaseDirectory(File dir)
dir
- the base directorypublic void setLoggingConfiguration(URL url)
url
- the configuration URLpublic Logger getBootstrapLogger()
public File getBaseDirectory()
public boolean isDebugEnabled()
public URL getLoggingConfiguration()
public long getUpdateInterval()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |