|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlogging.ChainedLog
public class ChainedLog
Writes log output to two Log instances
| Field Summary | |
|---|---|
(package private) Log |
m_Log1
|
(package private) Log |
m_Log2
|
| Constructor Summary | |
|---|---|
ChainedLog(Log log1,
Log log2)
|
|
| 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 mesg)
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 |
| Field Detail |
|---|
Log m_Log1
Log m_Log2
| Constructor Detail |
|---|
public ChainedLog(Log log1,
Log log2)
| Method Detail |
|---|
public void log(int level,
int type,
java.lang.String mesg)
Log
log in interface Loglevel - 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)
LogsetDebugType(JAPDebug.GUI+JAPDebug.NET).
setLogType in interface Logtype - The debug type (NUL, GUI, NET, THREAD, MISC)public int getLogType()
Log
getLogType in interface Logpublic void setLogLevel(int level)
Log
setLogLevel in interface Loglevel - The debug level (EMERG, ALERT, EXCEPTION, ERR, WARNING, NOTICE, INFO, DEBUG)public int getLogLevel()
Log
getLogLevel in interface Log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||