|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.unima.alcomox.util.AlcomoLogger
public class AlcomoLogger
A wrapper for the log4j logging mechanism.
Constructor Summary | |
---|---|
AlcomoLogger(java.lang.Class c)
Constructs a wrapper logger for the log4j logger for a certain class. |
Method Summary | |
---|---|
void |
infoP(double progress)
Logs a double interpreted as progress in percentage as info message. |
void |
infoPEnd()
Logs a end sign for a series of progress infos as info message followed by a newline. |
void |
infoPStart()
Logs a start sign for a series of progress infos as info message. |
void |
infoPStart(java.lang.String prefixExpl)
Logs a start sign for a series of progress infos as info message. |
void |
infoS(java.lang.String statement)
Logs a statement as info message. |
void |
infoW(java.lang.String word)
Logs a word as info message. |
static void |
printTimestamps()
|
static void |
resetTimer()
|
static void |
takeTime(java.lang.String breakpoint)
|
void |
warnS(java.lang.String statement)
Logs a statement as warning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlcomoLogger(java.lang.Class c)
c
- The class which activities will be logged.Method Detail |
---|
public void infoPStart()
word
- public void infoPStart(java.lang.String prefixExpl)
prefixExpl
- An explanation that prefixes the progress information.public void infoPEnd()
word
- public void infoW(java.lang.String word)
word
- public void infoP(double progress)
word
- public void infoS(java.lang.String statement)
statement
- public void warnS(java.lang.String statement)
statement
- public static void takeTime(java.lang.String breakpoint)
public static void printTimestamps()
public static void resetTimer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |