|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogConfiguration
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone the object. |
void |
discardContext(java.lang.String context)
Specify that messages with the input context should be discarded and not recorded. |
void |
discardContexts(java.util.Collection contexts)
Direct the log configuration to discard the given contexts and not record them. |
java.util.Set |
getDiscardedContexts()
Obtain the set of contexts for messages that are to be discarded. |
int |
getMessageLevel()
Get the level of detail of messages that are currently being recorded. |
boolean |
isMessageToBeRecorded(java.lang.String context,
int msgLevel)
|
void |
recordAllContexts()
Direct the log configuration to record all known logging contexts. |
void |
recordContexts(java.util.Collection contexts)
Direct the log configuration to record only these contexts. |
void |
setMessageLevel(int level)
Direct the log configuration to record messages of the given level or above. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.util.Set getDiscardedContexts()
void discardContext(java.lang.String context)
context
- the context to add to the set; this method does nothing
if the reference is nullint getMessageLevel()
void recordAllContexts()
java.lang.Object clone()
void discardContexts(java.util.Collection contexts)
contexts
- the collection of contexts that should be discarded.void recordContexts(java.util.Collection contexts)
contexts
- the contexts that should be recorded.void setMessageLevel(int level)
level
- the lowest level to record.boolean isMessageToBeRecorded(java.lang.String context, int msgLevel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |