com.infoengine.connector
Class Log
java.lang.Object
com.infoengine.connector.Log
- class Log
- extends Object
logging class
Constructor Summary |
(package private) |
Log()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
private static final int DEBUG
- See Also:
- Constant Field Values
ERROR
private static final int ERROR
- See Also:
- Constant Field Values
STATISTICS
private static final int STATISTICS
- See Also:
- Constant Field Values
TRANSACTION
private static final int TRANSACTION
- See Also:
- Constant Field Values
XML
private static final int XML
- See Also:
- Constant Field Values
mask
private int mask
logWriter
private PrintWriter logWriter
_stats
private Hashtable _stats
Log
Log()
getLogLevel
int getLogLevel()
setLogLevel
void setLogLevel(int level)
debug
boolean debug()
error
boolean error()
statistics
boolean statistics()
transaction
boolean transaction()
xml
boolean xml()
setLogWriter
void setLogWriter(PrintWriter writer)
log
private void log(String msg)
errorLog
void errorLog(String msg)
errorLog
void errorLog(Throwable t)
statLog
void statLog(String msg)
debugLog
void debugLog(String msg)
transLog
void transLog(String msg)
xmlLog
void xmlLog(String msg)
startStat
void startStat(Object o)
clearStat
void clearStat(Object o)
endStat
void endStat(Object o,
String msg)