|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.LogRecord
com.bea.logging.BaseLogRecord
public class BaseLogRecord
Log record structure for Server Logging.
Constructor Summary | |
---|---|
BaseLogRecord(int severity,
String msg)
Initialize a BaseLogRecord given the severity int value and the log message. |
|
BaseLogRecord(int severity,
String msg,
Throwable throwable)
Initialize a BaseLogRecord given the severity int value, the log message and the associated Exception. |
Method Summary | |
---|---|
String |
getDiagnosticContextId()
Gets the diagnostic context id associated with this log event. |
String |
getFormattedDate()
Gets the formatted date string for the timestamp of this log record. |
String |
getId()
Gets the message id of this log record. |
String |
getLogMessage()
Gets the String message for this log record. |
String |
getMachineName()
Gets the name of the machine where this log record was created. |
String |
getServerName()
Gets the name of the server where this log record was created. |
int |
getSeverity()
Gets the severity level for this log record. |
String |
getSubsystem()
Gets the subsystem name from where this message originated. |
String |
getThreadName()
Gets the name of the Thread from where this log record was created. |
long |
getTimestamp()
Gets the timestamp for this log record. |
String |
getTransactionId()
Gets the JTA Transaction ID if present when the log record was created. |
String |
getUserId()
Gets the user id who created this log record. |
Methods inherited from class java.util.logging.LogRecord |
---|
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setSourceClassName, setSourceMethodName, setThreadID, setThrown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseLogRecord(int severity, String msg)
severity
- msg
- public BaseLogRecord(int severity, String msg, Throwable throwable)
severity
- msg
- throwable
- Method Detail |
---|
public long getTimestamp()
public String getLogMessage()
public String getFormattedDate()
public int getSeverity()
public String getId()
public String getSubsystem()
public String getThreadName()
public String getUserId()
public String getTransactionId()
public String getServerName()
public String getDiagnosticContextId()
public String getMachineName()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |