|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jotm.btp.util.SOAPCategory
This object defines a list of log4j categories for all the different application.
Constructor Summary | |
SOAPCategory()
|
Method Summary | |
static org.apache.log4j.Category |
getCategory(String cat)
returns a category to the caller object. |
static org.apache.log4j.Category |
getCategory(String application,
String cat)
returns a category to the caller object. |
static String |
getLevel(String application)
returns the level of the current application |
static String |
getOutput(String application)
|
static void |
setLevel(String newLevel,
String application)
sets the level of an application, the new level is available for all the categories for the current application. |
static void |
setOutput(String output,
String application)
sets the output channel for a given application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SOAPCategory()
Method Detail |
public static void setLevel(String newLevel, String application)
newLevel
- the newLevel to set to categoriesapplication
- the concerned applicationpublic static String getLevel(String application)
application
- the application
public static void setOutput(String output, String application)
output
- the string representation of the output channelapplication
- the applicationpublic static String getOutput(String application)
public static org.apache.log4j.Category getCategory(String application, String cat)
application
- the name of the applicationcat
- the name of the category
public static org.apache.log4j.Category getCategory(String cat)
cat
- the name of the category
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |