|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.LogRecord
com.bea.logging.BaseLogRecord
public class BaseLogRecord
Log record representing a catalog message
Field Summary |
---|
Fields inherited from interface com.bea.logging.BaseLogEntry |
---|
DEFAULT_ID, DEFAULT_SUBSYSTEM |
Constructor Summary | |
---|---|
BaseLogRecord(int severity,
String msg)
|
|
BaseLogRecord(int severity,
String msg,
Throwable throwable)
|
|
BaseLogRecord(LogMessage logMessage)
Constructs a CELogRecord from a catalog message. |
Method Summary | |
---|---|
void |
ensureFormattedDateInitialized(DateFormatter df)
Formats the timestamp |
String |
getDiagnosticContextId()
Gets the diagnostic context id associated with this log event. |
String |
getFormattedDate()
Gets the formatted date string |
String |
getId()
Gets the message id of this log entry |
String |
getLogMessage()
Gets the message content of this log entry. |
String |
getMachineName()
Gets the machine name on which this log entry was created |
String |
getServerName()
Gets the server name on which this log entry was created |
int |
getSeverity()
Gets the severity level for this message. |
String |
getSubsystem()
Gets the name of the subsystem emitting this message |
String |
getThreadName()
Gets the thread name in which this event was generated. |
ThrowableWrapper |
getThrowableWrapper()
Gets the exception associated with this log event. |
long |
getTimestamp()
Gets the timestamp when this message was created. |
String |
getTransactionId()
Gets the JTA transaction id. |
String |
getUserId()
Gets the user id who generated this log event. |
void |
setId(String messageId)
|
void |
setLevel(Level level)
|
void |
setLoggerName(String loggerName)
|
void |
setThrowableWrapper(ThrowableWrapper throwableInfo)
Sets the wrapper over the throwable associated with this message. |
void |
setThrown(Throwable th)
|
Methods inherited from class java.util.logging.LogRecord |
---|
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setSourceClassName, setSourceMethodName, setThreadID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bea.logging.BaseLogEntry |
---|
setDiagnosticContextId, setMachineName, setServerName, setTransactionId, setUserId |
Constructor Detail |
---|
public BaseLogRecord(int severity, String msg)
public BaseLogRecord(int severity, String msg, Throwable throwable)
public BaseLogRecord(LogMessage logMessage)
catMsg
- Method Detail |
---|
public long getTimestamp()
BaseLogEntry
getTimestamp
in interface BaseLogEntry
public String getLogMessage()
BaseLogEntry
getLogMessage
in interface BaseLogEntry
public void ensureFormattedDateInitialized(DateFormatter df)
ensureFormattedDateInitialized
in interface BaseLogEntry
df
- public String getFormattedDate()
getFormattedDate
in interface BaseLogEntry
public void setThrown(Throwable th)
setThrown
in class LogRecord
public int getSeverity()
BaseLogEntry
getSeverity
in interface BaseLogEntry
public String getId()
BaseLogEntry
getId
in interface BaseLogEntry
public void setId(String messageId)
public String getSubsystem()
BaseLogEntry
getSubsystem
in interface BaseLogEntry
public ThrowableWrapper getThrowableWrapper()
BaseLogEntry
getThrowableWrapper
in interface BaseLogEntry
public void setThrowableWrapper(ThrowableWrapper throwableInfo)
BaseLogEntry
setThrowableWrapper
in interface BaseLogEntry
public String getThreadName()
BaseLogEntry
getThreadName
in interface BaseLogEntry
public String getUserId()
BaseLogEntry
getUserId
in interface BaseLogEntry
public String getTransactionId()
BaseLogEntry
getTransactionId
in interface BaseLogEntry
public String getServerName()
BaseLogEntry
getServerName
in interface BaseLogEntry
public String getDiagnosticContextId()
getDiagnosticContextId
in interface BaseLogEntry
public String getMachineName()
BaseLogEntry
getMachineName
in interface BaseLogEntry
public void setLoggerName(String loggerName)
setLoggerName
in class LogRecord
public void setLevel(Level level)
setLevel
in class LogRecord
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs100 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |