|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
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 structure for Server Logging.
Constructor Summary | |
---|---|
BaseLogRecord(int severityLevel,
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. |
|
BaseLogRecord(LogRecord rec)
Create a log record clone. |
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. |
Properties |
getSupplementalAttributes()
Gets the supplemental attributes associated with this log record. |
String |
getThreadName()
Gets the name of the Thread from where this log record was created. |
Throwable |
getThrown()
|
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, 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 severityLevel, String msg)
severityLevel
- msg
- public BaseLogRecord(int severity, String msg, Throwable throwable)
severity
- msg
- throwable
- public BaseLogRecord(LogRecord rec)
rec
- Method Detail |
---|
public long getTimestamp()
public String getLogMessage()
public String getFormattedDate()
public Throwable getThrown()
getThrown
in class LogRecord
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()
public Properties getSupplementalAttributes()
|
Copyright 1996, 2013, 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. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |