|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qriterium.dogma.DogmaLog
public class DogmaLog
DogmaLog
is a class for logging user behaviour in Dogma.
Method Summary | |
---|---|
void |
addEvent(iResource r,
int eventId,
java.lang.String event)
Creates a new event to the Log. |
void |
addEvent(iResource r,
java.lang.String event)
Creates a new event to the Log. |
static DogmaLog |
getInstance()
Creates a DogmaLog - instance using the singleton design-pattern. |
void |
writeToLog(java.lang.String line)
Writes a string to the logfile. |
void |
writeToLog(java.lang.String[] lines)
Writes a string - array to the logfile using bufferedwriter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DogmaLog getInstance()
public void addEvent(iResource r, int eventId, java.lang.String event)
r
- The resource the event is linked to.eventId
- A event identifier for the event.event
- A description for the event.public void addEvent(iResource r, java.lang.String event)
r
- The resource the event is linked to.event
- A description for the event.public void writeToLog(java.lang.String[] lines)
lines
- public void writeToLog(java.lang.String line)
line
- the line to be written to log.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |