edu.ntnu.cikmr.log
Class Log

java.lang.Object
  extended by edu.ntnu.cikmr.log.Log
Direct Known Subclasses:
LogComponentLog, PrintStreamLog, WorkflowLog

public abstract class Log
extends java.lang.Object


Field Summary
static int LEVEL_DEBUG
           
static int LEVEL_ERROR
           
static int LEVEL_INFORMATIVE
           
static int LEVEL_SEVERE
           
 
Constructor Summary
Log()
           
 
Method Summary
 int getLogLevel()
           
abstract  void logMessage(java.lang.Object source, int level, java.lang.String message)
           
 void setLogLevel(int logLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEVEL_INFORMATIVE

public static final int LEVEL_INFORMATIVE
See Also:
Constant Field Values

LEVEL_DEBUG

public static final int LEVEL_DEBUG
See Also:
Constant Field Values

LEVEL_ERROR

public static final int LEVEL_ERROR
See Also:
Constant Field Values

LEVEL_SEVERE

public static final int LEVEL_SEVERE
See Also:
Constant Field Values
Constructor Detail

Log

public Log()
Method Detail

logMessage

public abstract void logMessage(java.lang.Object source,
                                int level,
                                java.lang.String message)

setLogLevel

public void setLogLevel(int logLevel)

getLogLevel

public int getLogLevel()