|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object logging.DummyLog
public class DummyLog
Constructor Summary | |
---|---|
DummyLog()
|
Method Summary | |
---|---|
int |
getLogLevel()
Get the current debug level. |
int |
getLogType()
Get the current debug type. |
void |
log(int level,
int type,
java.lang.String msg)
Output a debug message. |
void |
setLogLevel(int level)
Set the debugging level you would like to output. |
void |
setLogType(int type)
Set the debugging type you like to output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyLog()
Method Detail |
---|
public void log(int level, int type, java.lang.String msg)
Log
log
in interface Log
level
- The level of the debugging message (EMERG,ALERT,CRIT,ERR,WARNING,NOTICE,INFO,DEBUG)type
- The type of the debugging message (GUI, NET, THREAD, MISC)public void setLogType(int type)
Log
setDebugType(JAPDebug.GUI+JAPDebug.NET)
.
setLogType
in interface Log
type
- The debug type (NUL, GUI, NET, THREAD, MISC)public int getLogType()
getLogType
in interface Log
public void setLogLevel(int level)
setLogLevel
in interface Log
level
- The debug level (EMERG, ALERT, EXCEPTION, ERR, WARNING, NOTICE, INFO, DEBUG)public int getLogLevel()
getLogLevel
in interface Log
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |