Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


com.bea.logging
Class BaseLogRecord

java.lang.Object
  extended by java.util.logging.LogRecord
      extended by com.bea.logging.BaseLogRecord

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WLLogRecord

public class BaseLogRecord
extends LogRecord

Log record structure for Server Logging.

See Also:
Serialized Form

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

 

Method Detail

getTimestamp

public long getTimestamp()
Gets the timestamp for this log record.

getLogMessage

public String getLogMessage()
Gets the String message for this log record.

getFormattedDate

public String getFormattedDate()
Gets the formatted date string for the timestamp of this log record.

getThrown

public Throwable getThrown()
Overrides:
getThrown in class LogRecord

getSeverity

public int getSeverity()
Gets the severity level for this log record.

getId

public String getId()
Gets the message id of this log record.

getSubsystem

public String getSubsystem()
Gets the subsystem name from where this message originated.

getThreadName

public String getThreadName()
Gets the name of the Thread from where this log record was created.

getUserId

public String getUserId()
Gets the user id who created this log record.

getTransactionId

public String getTransactionId()
Gets the JTA Transaction ID if present when the log record was created.

getServerName

public String getServerName()
Gets the name of the server where this log record was created.

getDiagnosticContextId

public String getDiagnosticContextId()
Gets the diagnostic context id associated with this log event.

getMachineName

public String getMachineName()
Gets the name of the machine where this log record was created.

getSupplementalAttributes

public Properties getSupplementalAttributes()
Gets the supplemental attributes associated with this log record.
Returns:
the supplemental attributes of this log record.

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09