|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogConfiguration
Field Summary | |
---|---|
static java.lang.String |
ROOT_CONTEXT
|
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getContexts()
Obtain the set of message contexts that are currently used. |
int |
getLogLevel(java.lang.String context)
Get the current configured Log Level for supplied context |
boolean |
isEnabled(java.lang.String context,
int msgLevel)
Is the logging for the given context at the specified message level enabled. |
void |
setLogLevel(java.lang.String context,
int logLevel)
Set the Log Level Note: Must call setLogConfiguration(LogConfiguration) for log level to take affect on the server. |
Field Detail |
---|
static final java.lang.String ROOT_CONTEXT
Method Detail |
---|
int getLogLevel(java.lang.String context)
context
-
MessageLevel
java.util.Set<java.lang.String> getContexts()
void setLogLevel(java.lang.String context, int logLevel)
context
- log context namelogLevel
- The logLevel to set.boolean isEnabled(java.lang.String context, int msgLevel)
context
- msgLevel
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |