|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.data.LogConfig
public class LogConfig
The class is used to maintain the log level setting and corresponding constants of log level
Field Summary | |
---|---|
static int |
DEBUG
The constant to identify the debug level |
static java.lang.String |
DefaultReplayPendingValue
The constant to identify the status which is not the deleted and submitted log records |
static int |
ERROR
The constant to identify the debug level |
static int |
FATAL
The constant to identify the FATAL level |
static int |
INFO
The constant to identify the INFO level |
static long |
KEY
|
static int |
OFF
The constant to identify the OFF level |
static java.lang.String |
ReplayPending
The constant to indicate the attribute of replay pending in ObjAPI |
static int |
WARN
The constant to identify the WARN level |
Method Summary | |
---|---|
int |
getCurrentLevel()
Gets the setting of current log level |
static LogConfig |
getInstance(java.lang.String appID)
Gets a instance of logConfig |
void |
setCurrentLevel(int currentLevel)
Sets the current log level for application |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEBUG
public static final int INFO
public static final int WARN
public static final int ERROR
public static final int FATAL
public static final int OFF
public static java.lang.String ReplayPending
public static java.lang.String DefaultReplayPendingValue
public static final long KEY
Method Detail |
---|
public static LogConfig getInstance(java.lang.String appID)
appID
- The application id
public int getCurrentLevel()
public void setCurrentLevel(int currentLevel)
currentLevel
- The log level will be set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |