com.dynalivery.harmoni
Class LogService
java.lang.Object
|
+--com.dynalivery.harmoni.LogService
- Direct Known Subclasses:
- NullLogService
- public class LogService
- extends java.lang.Object
This type is the prototype base class for the logging subsystem.
It is not complete, but does expose the proper interface. Therefore
this class can be used as the stub for the logging system. Classes
using this stub then don't have to be modified when the full logging
subsystem is put in place.
|
Method Summary |
static LogService |
getInstance()
The singleton factory method for this object |
void |
log(int level,
java.lang.String message)
Print out a log message to std error with no verbose message. |
void |
log(int level,
java.lang.String message,
java.lang.String verboseMessage)
Print out a log message to std error. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LOG_FATAL
public static final int LOG_FATAL
LOG_DEFECT
public static final int LOG_DEFECT
LOG_WARNING
public static final int LOG_WARNING
LOG_TRACE
public static final int LOG_TRACE
getInstance
public static LogService getInstance()
- The singleton factory method for this object
log
public final void log(int level,
java.lang.String message)
- Print out a log message to std error with no verbose message.
TODO: implement rest of loggin system behind this.
log
public void log(int level,
java.lang.String message,
java.lang.String verboseMessage)
- Print out a log message to std error.
TODO: implement rest of loggin system behind this.