|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.directj.jlogger.LogRecord
A very simple class that store logging information.
| Field Summary | |
private java.lang.String |
logMessage
The logging information. |
private java.lang.String |
logName
The logger name. |
private java.lang.String |
logTime
The logging time. |
private int |
logType
The logging type of the information. |
| Constructor Summary | |
LogRecord(int _type,
java.lang.String _msg,
java.lang.String _name,
java.lang.String _time)
Creates a new LogRecord, with specified info and level. |
|
| Method Summary | |
java.lang.String |
getLogMessage()
Returns the logging information. |
java.lang.String |
getLogName()
Returns the name of the logger that emit the info, as a string. |
java.lang.String |
getLogTime()
Returns the logging time, as a string. |
int |
getLogType()
Returns the logging information type, as an integer. |
java.lang.String |
getLogTypeAsString()
Returns the logging type, as a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int logType
private java.lang.String logMessage
private java.lang.String logTime
private java.lang.String logName
| Constructor Detail |
public LogRecord(int _type,
java.lang.String _msg,
java.lang.String _name,
java.lang.String _time)
_type - The logging information level._msg - The logging information._name - The name of the logger that emit the info._time - The time since the logger us running for.| Method Detail |
public java.lang.String getLogMessage()
String - The logging information.public int getLogType()
int - The logging information type.public java.lang.String getLogName()
String - The logger name.public java.lang.String getLogTime()
String - The logging information publish time.public java.lang.String getLogTypeAsString()
String - The logging type, as a String.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||