|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.web4jtools.logview.parsedview.LoggerRecord
public final class LoggerRecord
Model Object for a parsed Logger Record.
A parsed logger record can be filtered and sorted according to various criteria, making it easier to find needed information.
This class is mutable.
Constructor Summary | |
---|---|
LoggerRecord(Date aDate,
String aLogger,
String aMethod)
Alternate constructor. |
|
LoggerRecord(String aLevel,
Date aDate,
String aLogger,
String aMethod,
String aMessage)
Full constructor. |
Method Summary | |
---|---|
void |
addLevel(String aLevel)
Set the level for this record. |
void |
addMessage(String aMessage)
Set the log message for this record. |
boolean |
equals(Object aThat)
|
Date |
getDate()
|
Level |
getLevel()
|
SafeText |
getLogger()
|
SafeText |
getMessage()
|
SafeText |
getMethod()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoggerRecord(String aLevel, Date aDate, String aLogger, String aMethod, String aMessage)
aLevel
- Logging level (required).aDate
- Date of the logging message (required).aLogger
- Logger/package name (required).aMethod
- name of the method emitting the message (optional).aMessage
- Text of the logging message (required).public LoggerRecord(Date aDate, String aLogger, String aMethod)
Method Detail |
---|
public void addLevel(String aLevel)
public void addMessage(String aMessage)
public Level getLevel()
public Date getDate()
public SafeText getLogger()
public SafeText getMethod()
public SafeText getMessage()
public String toString()
toString
in class Object
public boolean equals(Object aThat)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |