com.infoengine.connector
Class Log

java.lang.Object
  extended bycom.infoengine.connector.Log

class Log
extends Object

logging class


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

Field Detail

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
Constructor Detail

Log

Log()
Method Detail

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)