|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.tc.logging.ExceptionHandling
com.sap.tc.logging.LogRecord
Internal form of log messages.
| Field Summary |
| Fields inherited from class com.sap.tc.logging.ExceptionHandling |
EX_NO_FILTER_EMSG, EX_NO_FORMATTER_EMSG, EX_NO_INSTANCE_EMSG |
| Constructor Summary | |
protected |
LogRecord(LogController source,
String locName,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args)
|
protected |
LogRecord(LogController source,
String locName,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args,
Throwable msgExc)
|
protected |
LogRecord(LogController source,
String locName,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
String[] args)
|
protected |
LogRecord(LogController source,
String locName,
Thread thr,
int severity,
LogController[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args)
Deprecated. |
protected |
LogRecord(LogController source,
String locName,
Thread thr,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args)
|
protected |
LogRecord(LogController source,
String locName,
Thread thr,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
String[] args)
|
protected |
LogRecord(String msgId,
Date time,
String source,
int severity,
String loc,
LogController[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String resourceBundleName,
String msgClear,
String[] args,
String application,
String user,
String session,
String transaction)
|
protected |
LogRecord(String msgId,
Date time,
String source,
int severity,
String loc,
String[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String resourceBundleName,
String msgClear,
Object[] args,
String application,
String user,
String session,
String transaction,
String dsrComponent,
String dsrUser,
String dsrTransaction)
|
protected |
LogRecord(String msgId,
int size,
Date time,
String source,
int severity,
String loc,
String[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String resourceBundleName,
String msgClear,
Object[] args,
String application,
String user,
String session,
String transaction,
String dsrComponent,
String dsrUser,
String dsrTransaction)
|
protected |
LogRecord(String msgId,
int size,
Date time,
String source,
int severity,
String loc,
String[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String msgAlias,
String resourceBundleName,
String msgClear,
Object[] args,
String application,
String user,
String session,
String transaction,
String dsrComponent,
String dsrUser,
String dsrTransaction,
Object msgAccessor)
|
| Method Summary | |
boolean |
equals(Object obj)
|
String |
getApplication()
Gets the application on behalf of which this log record was issued. |
List |
getArgObjs()
Gets the argument objects of the template-based message belonging to this log record. |
List |
getArgs()
Gets the toString results of the argument objects of the
template-based message belonging to this log record. |
long |
getBookMark()
BookMark represents a pointer in the Log where this LogRecord starts. |
String |
getDsrComponent()
Gets the DSR (Distributed Statistics Record) component on behalf of which this log record was issued. |
String |
getDsrTransaction()
Gets the DSR (Distributed Statistics Record) transaction on behalf of which this log record was issued. |
String |
getDsrUser()
Gets the DSR (Distributed Statistics Record) user on behalf of which this log record was issued. |
com.sap.tc.logging.Group |
getGroup()
Deprecated. Not supported anymore |
String |
getGroupDescription()
Gets the description of the group this log record belongs to. |
com.sap.tc.logging.GUId |
getGroupId()
Gets the identification of the group. |
String |
getGroupID()
Gets the identification of the group this log record belongs to. |
int |
getGroupIndent()
Gets the indentation of nested groups of this log record. |
int |
getGroupLevel()
Gets the level of nested groups this log record belongs to. |
String |
getGroupName()
Gets the name of the group this log record belongs to. |
List |
getGroups()
Deprecated. Not supported anymore |
com.sap.tc.logging.GUId |
getId()
Gets the message identification of this log record. |
int |
getIndent()
Deprecated. @see #getGroupIndent() |
int |
getLevel()
Deprecated. @see #getGroupLevel() |
String |
getLocation()
Deprecated. @see #getLocationName() |
String |
getLocationName()
Gets the name of the location the message belonging to this log record came from. |
String |
getLogName()
Log name represents a Log where this LogRecord is written to. |
String |
getMessage()
Gets the full message of this log record. |
String |
getMsgAlias()
Gets the unique message alias. |
String |
getMsgClear()
Gets the clear text version of this log record. |
String |
getMsgCode()
Gets the toString result of the language-independent message
code of this log record. |
String |
getMsgDefault()
Gets the default text version of this log record. |
Throwable |
getMsgException()
Gets the exception of this log record. |
String |
getMsgLocalized()
Gets the localized text version of this log record. |
int |
getMsgType()
Gets the type of the message text of this log record. |
Collection |
getRelatives()
Gets the log controllers related to the source of this log record. |
String |
getResourceBundleName()
Gets the name of the resource bundle assigned to the language-independent message belonging to this log record. |
String |
getSession()
Gets the session on behalf of which this log record was issued. |
int |
getSeverity()
Gets the severity of this log record. |
int |
getSize()
Gets size of this LogRecord. |
LogController |
getSource()
Gets the log controller this log record came from. |
String |
getSourceName()
Gets the name of the log controller this log record came from. |
String |
getSysHostName()
|
String |
getSysInstanceName()
|
String |
getSysName()
|
String |
getSysNodeID()
|
Thread |
getThread()
Gets the thread this log record belongs to if it still runs. |
String |
getThreadName()
Gets the name of the thread this log record belongs to |
Date |
getTime()
Gets the instantiation date of this log record in milliseconds. |
String |
getTransaction()
Gets the application on behalf of which this log record was issued. |
String |
getUser()
Gets the user on behalf of which this log record was issued. |
int |
hashCode()
|
boolean |
isGroupActive()
Gets the level of nested groups. |
void |
setApplication(String value)
|
void |
setBookMark(long value)
|
void |
setDsrComponent(String value)
|
void |
setDsrTransaction(String value)
|
void |
setDsrUser(String value)
|
void |
setLogName(String value)
|
void |
setSession(String value)
|
void |
setSysHostName(String value)
|
void |
setSysInstanceName(String value)
|
void |
setSysName(String value)
|
void |
setSysNodeID(String value)
|
void |
setTransaction(String value)
|
void |
setUser(String value)
|
| Methods inherited from class com.sap.tc.logging.ExceptionHandling |
getException, getExceptions, handleException, handleException, resetException, throwException |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LogRecord(LogController source,
String locName,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
String[] args)
protected LogRecord(LogController source,
String locName,
Thread thr,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
String[] args)
protected LogRecord(String msgId,
int size,
Date time,
String source,
int severity,
String loc,
String[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String msgAlias,
String resourceBundleName,
String msgClear,
Object[] args,
String application,
String user,
String session,
String transaction,
String dsrComponent,
String dsrUser,
String dsrTransaction,
Object msgAccessor)
protected LogRecord(String msgId,
int size,
Date time,
String source,
int severity,
String loc,
String[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String resourceBundleName,
String msgClear,
Object[] args,
String application,
String user,
String session,
String transaction,
String dsrComponent,
String dsrUser,
String dsrTransaction)
protected LogRecord(String msgId,
Date time,
String source,
int severity,
String loc,
String[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String resourceBundleName,
String msgClear,
Object[] args,
String application,
String user,
String session,
String transaction,
String dsrComponent,
String dsrUser,
String dsrTransaction)
protected LogRecord(LogController source,
String locName,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args,
Throwable msgExc)
protected LogRecord(LogController source,
String locName,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args)
protected LogRecord(LogController source,
String locName,
Thread thr,
int severity,
String[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args)
protected LogRecord(String msgId,
Date time,
String source,
int severity,
String loc,
LogController[] relatives,
String groupId,
int level,
int indent,
String thr,
int msgType,
String msgCode,
String resourceBundleName,
String msgClear,
String[] args,
String application,
String user,
String session,
String transaction)
protected LogRecord(LogController source,
String locName,
Thread thr,
int severity,
LogController[] relatives,
int msgType,
Object msgCode,
String resourceBundleName,
String msgClear,
Object[] args)
| Method Detail |
public com.sap.tc.logging.GUId getId()
getId in interface ILogRecordpublic int getSize()
public Date getTime()
getTime in interface ILogRecordpublic String getApplication()
getApplication in interface IRPRecordpublic void setApplication(String value)
setApplication in interface IRPRecordpublic String getUser()
getUser in interface IRPRecordpublic void setUser(String value)
setUser in interface IRPRecordpublic String getSession()
getSession in interface IRPRecordpublic void setSession(String value)
setSession in interface IRPRecordpublic String getTransaction()
getTransaction in interface IRPRecordpublic void setTransaction(String value)
setTransaction in interface IRPRecordpublic String getDsrComponent()
getDsrComponent in interface IRPRecordpublic void setDsrComponent(String value)
setDsrComponent in interface IRPRecordpublic String getDsrUser()
getDsrUser in interface IRPRecordpublic void setDsrUser(String value)
setDsrUser in interface IRPRecordpublic String getDsrTransaction()
getDsrTransaction in interface IRPRecordpublic void setDsrTransaction(String value)
setDsrTransaction in interface IRPRecordpublic String getSysHostName()
getSysHostName in interface IRPRecordpublic void setSysHostName(String value)
setSysHostName in interface IRPRecordpublic String getSysInstanceName()
getSysInstanceName in interface IRPRecordpublic void setSysInstanceName(String value)
setSysInstanceName in interface IRPRecordpublic String getSysName()
getSysName in interface IRPRecordpublic void setSysName(String value)
setSysName in interface IRPRecordpublic String getSysNodeID()
getSysNodeID in interface IRPRecordpublic void setSysNodeID(String value)
setSysNodeID in interface IRPRecordpublic boolean isGroupActive()
ILogRecord
isGroupActive in interface ILogRecordpublic List getGroups()
public com.sap.tc.logging.Group getGroup()
public com.sap.tc.logging.GUId getGroupId()
ILogRecord
getGroupId in interface ILogRecordgetGroupID()public String getGroupID()
public String getSourceName()
getSourceName in interface ILogRecordpublic String getLocationName()
getLocationName in interface ILogRecordpublic String getGroupName()
public String getGroupDescription()
public int getGroupIndent()
getGroupIndent in interface ILogRecordpublic int getGroupLevel()
getGroups().size().
getGroupLevel in interface ILogRecordpublic String getThreadName()
getThreadName in interface ILogRecordpublic int getSeverity()
getSeverity in interface ILogRecordpublic int getMsgType()
getMsgType in interface ILogRecordpublic String getMsgCode()
toString result of the language-independent message
code of this log record.
getMsgCode in interface ILogRecordpublic String getMsgAlias()
public String getResourceBundleName()
getResourceBundleName in interface ILogRecordpublic String getMessage()
public String getMsgClear()
getMsgClear in interface ILogRecordpublic String getMsgDefault()
public String getMsgLocalized()
public Throwable getMsgException()
public List getArgs()
toString results of the argument objects of the
template-based message belonging to this log record.
getArgs in interface ILogRecordpublic List getArgObjs()
getArgObjs in interface ILogRecordpublic Collection getRelatives()
public boolean equals(Object obj)
public int hashCode()
public void setBookMark(long value)
value - The BookMark value to set.getBookMark()public long getBookMark()
public String getLogName()
public void setLogName(String value)
value - The Log name to set.getLogName()public LogController getSource()
ILogRecord
getSource in interface ILogRecordpublic String getLocation()
public int getLevel()
public int getIndent()
public Thread getThread()
ILogRecord
getThread in interface ILogRecordnull if meanwhile the thread terminated
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||