|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.mff.ksi.jinfer.base.utils.LogLevels
public final class LogLevels
Helper class providing static methods for easier integration of log4j logging.
| Method Summary | |
|---|---|
static String |
getConsoleThreshold()
Get the log level that is written to console output which is currently set. |
static ComboBoxModel |
getDefaultModel()
Creates a combo box model with all allowed log levels sorted by severity. |
static String |
getFileThreshold()
Get the log level that is written to file output which is currently set. |
static List<String> |
getList()
|
static String |
getRootLogLevel()
Get the log level which is currently set for all outputs. |
static void |
setConsoleThreshold(String level)
Set the log level for messages written to console output. |
static void |
setFileThreshold(String level)
Set the log level for messages written to file output. |
static void |
setRootLogLevel(String level)
Set a new log level for all outputs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static List<String> getList()
public static ComboBoxModel getDefaultModel()
DefaultComboBoxModel,
Levelpublic static String getRootLogLevel()
public static void setRootLogLevel(String level)
level - New ROOT and default log level.public static String getFileThreshold()
public static String getConsoleThreshold()
public static void setFileThreshold(String level)
level - New file log level.public static void setConsoleThreshold(String level)
level - New console log level.
|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||