|
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 BaseLogEntrypublic String getLogMessage()
BaseLogEntry
getLogMessage in interface BaseLogEntrypublic void ensureFormattedDateInitialized(DateFormatter df)
ensureFormattedDateInitialized in interface BaseLogEntrydf - public String getFormattedDate()
getFormattedDate in interface BaseLogEntrypublic void setThrown(Throwable th)
setThrown in class LogRecordpublic int getSeverity()
BaseLogEntry
getSeverity in interface BaseLogEntrypublic String getId()
BaseLogEntry
getId in interface BaseLogEntrypublic void setId(String messageId)
public String getSubsystem()
BaseLogEntry
getSubsystem in interface BaseLogEntrypublic ThrowableWrapper getThrowableWrapper()
BaseLogEntry
getThrowableWrapper in interface BaseLogEntrypublic void setThrowableWrapper(ThrowableWrapper throwableInfo)
BaseLogEntry
setThrowableWrapper in interface BaseLogEntrypublic String getThreadName()
BaseLogEntry
getThreadName in interface BaseLogEntrypublic String getUserId()
BaseLogEntry
getUserId in interface BaseLogEntrypublic String getTransactionId()
BaseLogEntry
getTransactionId in interface BaseLogEntrypublic String getServerName()
BaseLogEntry
getServerName in interface BaseLogEntrypublic String getDiagnosticContextId()
getDiagnosticContextId in interface BaseLogEntrypublic String getMachineName()
BaseLogEntry
getMachineName in interface BaseLogEntrypublic void setLoggerName(String loggerName)
setLoggerName in class LogRecordpublic 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 | |||||||||