|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j4me.logging.LogMessage
public class LogMessage
A message logged by the application.
Field Summary | |
---|---|
Level |
level
The level of this log message. |
java.lang.String |
message
The message logged. |
long |
time
The System.cucurrentTimeMillis at the time the message was
logged. |
Constructor Summary | |
---|---|
protected |
LogMessage(Level level,
java.lang.String message)
Constructs a log message. |
Method Summary | |
---|---|
protected void |
setLogMessage(Level level,
java.lang.String message)
Replaces the contents of a log message. |
java.lang.String |
toString()
The message as it will appear in the log. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Level level
Level
public long time
System.cucurrentTimeMillis
at the time the message was
logged.
public java.lang.String message
Constructor Detail |
---|
protected LogMessage(Level level, java.lang.String message)
level
- is the severity of the log.message
- is the text of the log message.Method Detail |
---|
protected void setLogMessage(Level level, java.lang.String message)
level
- is the severity of the log.message
- is the text of the log message.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |