|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.logging.LogEntry
public final class LogEntry
The class which describes the log entry.
Constructor Summary | |
---|---|
LogEntry(int logMsgId,
java.lang.Object[] arguments)
Constructor. |
|
LogEntry(int logMsgId,
java.lang.String logMessage,
java.util.Date dateTime,
LogLevel logLevel,
LogCategory logCategory,
AttributeList attributes,
java.lang.Object[] arguments)
Constructor. |
|
LogEntry(int logMsgId,
java.lang.String logMessage,
java.util.Date dateTime,
LogLevel logLevel,
LogCategory logCategory,
java.lang.Object[] arguments)
Constructor. |
|
LogEntry(LogEntry entry)
Copy constructor. |
|
LogEntry(java.lang.String logMessage)
Constructor. |
Method Summary | |
---|---|
java.lang.Object[] |
getArgs()
|
AttributeList |
getAttributes()
Gets RequestLogMessage.Attributes parameter (see RequestLogMessage for details). |
LogCategory |
getCategory()
|
int |
getId()
|
LogLevel |
getLevel()
|
java.lang.String |
getMessage()
|
java.lang.String |
getSourceName()
Gets the name of the logger which creates this entry. |
java.util.Date |
getTime()
|
void |
setAttributes(AttributeList attributeList)
|
void |
setCategory(LogCategory logCategory)
|
void |
setId(int logMsgId)
|
void |
setLevel(LogLevel logLevel)
|
void |
setMessage(java.lang.String logMessage)
|
void |
setSourceName(java.lang.String sourceName)
|
void |
setTime(java.util.Date timeStamp)
|
java.lang.String |
toString()
|
java.lang.String |
toStringExtended()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LogEntry(int logMsgId, java.lang.String logMessage, java.util.Date dateTime, LogLevel logLevel, LogCategory logCategory, java.lang.Object[] arguments)
logMsgId
- id of messagelogMessage
- log message stringdateTime
- timestamp of the messagelogLevel
- log level of the message (see LogLevel
for
details)logCategory
- category of message (see LogCategory
for
details)arguments
- the additional infopublic LogEntry(java.lang.String logMessage)
logMessage
- log message stringpublic LogEntry(int logMsgId, java.lang.Object[] arguments)
logMsgId
- id of messagearguments
- the additional infopublic LogEntry(int logMsgId, java.lang.String logMessage, java.util.Date dateTime, LogLevel logLevel, LogCategory logCategory, AttributeList attributes, java.lang.Object[] arguments)
logMsgId
- id of messagelogMessage
- log message stringdateTime
- timestamp of the messagelogLevel
- log level of the message (see LogLevel
for
details)logCategory
- category of message (see LogCategory
for
details)attributes
- attributes (used by Message Server only) see
RequestLogMessage
for details.arguments
- the additional infopublic LogEntry(LogEntry entry)
entry
- Method Detail |
---|
public LogCategory getCategory()
public void setCategory(LogCategory logCategory)
public int getId()
public void setId(int logMsgId)
public LogLevel getLevel()
public void setLevel(LogLevel logLevel)
public java.lang.String getMessage()
public void setMessage(java.lang.String logMessage)
public java.util.Date getTime()
public void setTime(java.util.Date timeStamp)
public java.lang.Object[] getArgs()
public java.lang.String getSourceName()
public void setSourceName(java.lang.String sourceName)
public AttributeList getAttributes()
public void setAttributes(AttributeList attributeList)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringExtended()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |