|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.resilientedge.util.logger.SimpleLogRecord
This class is an general implementation of a LogRecord. SimpleLogRecord objects can be used to pass logging requests between the logger and individual Handlers.
| Constructor Summary | |
SimpleLogRecord()
|
|
| Method Summary | |
java.lang.Object[] |
getInsertValues()
Return the Log Record's insert values array. |
int |
getLevel()
This method returns the log record's Level. |
Logger |
getLogger()
Return the logger that created this record. |
java.lang.String |
getLoggingClassName()
Return the class name for the object generating the log request. |
java.lang.Throwable |
getLoggingException()
Return the Log Record's exception |
java.lang.String |
getLoggingMethodName()
Return the name of the method generating the log request. |
java.lang.Thread |
getLoggingThread()
This method returns the Thread responsible for generating the log request. |
java.lang.String |
getMessage()
This method returns the actual string to be logged. |
java.lang.String |
getRawMessage()
Return the Log Record's raw message. |
long |
getTimeInMillis()
Returns the time the log record was created in milliseconds. |
java.lang.String |
getTopic()
This method returns the log record's topic. |
void |
setInsertValues(java.lang.Object[] obj)
Assign the insert values used for substitution values if a message contains expansion tokens. |
void |
setLevel(int level)
Assign the Log Records' Level |
void |
setLevel(Level level)
Assign the Log Record's Level. |
void |
setLogger(Logger logger)
Assign the Logger responsible for generating this record. |
void |
setLoggingClassName(java.lang.String className)
Assign the classname for the object generating the Log request. |
void |
setLoggingException(java.lang.Throwable exc)
Assign the exception to be logged. |
void |
setLoggingMethodName(java.lang.String methodName)
Assign the name of the Method which generated the log request. |
void |
setLoggingThread(java.lang.Thread thread)
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 non-localized, non-substituted, non-formatted message. |
void |
setTimeInMillis(long timeInMillis)
Set the time the Log Record was created in milliseconds. |
void |
setTopic(java.lang.String topic)
Assign the LogRecord's topic. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleLogRecord()
| Method Detail |
public void setLoggingThread(java.lang.Thread thread)
setLoggingThread in interface LogRecordthread - public void setLoggingClassName(java.lang.String className)
setLoggingClassName in interface LogRecordclassName - public void setLoggingMethodName(java.lang.String methodName)
setLoggingMethodName in interface LogRecordmethodName - public void setLoggingException(java.lang.Throwable exc)
setLoggingException in interface LogRecordexc - public void setLogger(Logger logger)
setLogger in interface LogRecordlogger - public void setRawMessage(java.lang.String rawMessage)
setRawMessage in interface LogRecordrawMessage - public void setMessage(java.lang.String message)
setMessage in interface LogRecordmessage - public void setTopic(java.lang.String topic)
setTopic in interface LogRecordtopic - public void setLevel(int level)
setLevel in interface LogRecordlevel - public void setLevel(Level level)
level - public void setInsertValues(java.lang.Object[] obj)
setInsertValues in interface LogRecordobj - public void setTimeInMillis(long timeInMillis)
setTimeInMillis in interface LogRecordtimeInMillis - public java.lang.Thread getLoggingThread()
getLoggingThread in interface LogRecordpublic java.lang.String getLoggingClassName()
getLoggingClassName in interface LogRecordpublic java.lang.String getLoggingMethodName()
getLoggingMethodName in interface LogRecordpublic java.lang.Throwable getLoggingException()
getLoggingException in interface LogRecordpublic Logger getLogger()
getLogger in interface LogRecordpublic java.lang.String getRawMessage()
getRawMessage in interface LogRecordpublic java.lang.String getMessage()
getMessage in interface LogRecordpublic java.lang.String getTopic()
getTopic in interface LogRecordpublic int getLevel()
getLevel in interface LogRecordpublic java.lang.Object[] getInsertValues()
getInsertValues in interface LogRecordpublic long getTimeInMillis()
getTimeInMillis in interface LogRecord
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||