|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LogRecord objects are used to pass logging requests between the Logger and individual Handlers.
Method Summary | |
java.lang.Object[] |
getInsertValues()
The implementation of this method should return the Log Record's insert values array. |
int |
getLevel()
The implementation of this method should This method return the log record's Level. |
Logger |
getLogger()
The implementation of this method should return the logger that created this record. |
java.lang.String |
getLoggingClassName()
The implementation of this method should return the class name for the object generating the log request. |
java.lang.Throwable |
getLoggingException()
The implementation of this method should return the Log Record's exception |
java.lang.String |
getLoggingMethodName()
The implementation of this method should return the name of the method generating the log request. |
java.lang.Thread |
getLoggingThread()
The implementation of this method should return the Thread responsible for generating the log request. |
java.lang.String |
getMessage()
The implementation of this method should this method return the actual string to be logged. |
java.lang.String |
getRawMessage()
The implementation of this method should return the Log Record's raw message. |
long |
getTimeInMillis()
The implementation of this method should set the time the Log Record was created (in milliseconds). |
java.lang.String |
getTopic()
The implementation of this method should return the log record's topic. |
void |
setInsertValues(java.lang.Object[] obj)
The implementation of this method should assign the insert values used for substitution values if a message contains expansion tokens. |
void |
setLevel(int level)
The implementation of this method should assign the Log Records' Level |
void |
setLogger(Logger logger)
The implementation of this method should assign the Logger responsible for generating this record. |
void |
setLoggingClassName(java.lang.String className)
The implementation of this method should assign the classname for the object generating the Log request. |
void |
setLoggingException(java.lang.Throwable exc)
The implementation of this method should assign the exception to be logged. |
void |
setLoggingMethodName(java.lang.String methodName)
The implementation of this method should assign the name of the Method which generated the log request. |
void |
setLoggingThread(java.lang.Thread thread)
The implementation of this method should assign the Thread generating the log request. |
void |
setMessage(java.lang.String message)
Set the actual message to be exported. |
void |
setRawMessage(java.lang.String rawMessage)
The implementation of this method should assign the non-localized, non-substituted, non-formatted message. |
void |
setTimeInMillis(long timeInMillis)
The implementation of this method should return the Log Record's time stamp (in milliseconds). |
void |
setTopic(java.lang.String topic)
The implementation of this method should assign the LogRecord's topic. |
Method Detail |
public void setLoggingThread(java.lang.Thread thread)
thread
- public java.lang.Thread getLoggingThread()
public void setLoggingClassName(java.lang.String className)
className
- public java.lang.String getLoggingClassName()
public void setLoggingMethodName(java.lang.String methodName)
methodName
- public java.lang.String getLoggingMethodName()
public void setLoggingException(java.lang.Throwable exc)
exc
- public java.lang.Throwable getLoggingException()
public void setLogger(Logger logger)
logger
- public Logger getLogger()
public void setRawMessage(java.lang.String rawMessage)
rawMessage
- public java.lang.String getRawMessage()
public void setMessage(java.lang.String message)
message
- public java.lang.String getMessage()
public void setTopic(java.lang.String topic)
topic
- public java.lang.String getTopic()
public void setLevel(int level)
level
- public int getLevel()
public void setInsertValues(java.lang.Object[] obj)
obj
- public java.lang.Object[] getInsertValues()
public void setTimeInMillis(long timeInMillis)
timeInMillis
- public long getTimeInMillis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |