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

Part Number E27170-01

weblogic.logging.log4j
Class WLLog4jLogEvent

java.lang.Object
  extended by org.apache.log4j.spi.LoggingEvent
      extended by weblogic.logging.log4j.WLLog4jLogEvent
All Implemented Interfaces:
Externalizable, Serializable

public class WLLog4jLogEvent
extends LoggingEvent
implements Externalizable

Defines the fields in the logging event which is passed on to all Appenders.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.log4j.spi.LoggingEvent
categoryName, fqnOfCategoryClass, level, timeStamp
 
Method Summary
 String getDiagnosticContextId()
          Gets the diagnostic context id associated with this log event.
 String getDiagnosticVolume()
           
 String getFormattedDate()
          Gets the formatted date string
 String getId()
           
 String getLogMessage()
           
 String getMachineName()
           
 String getServerName()
           
 int getSeverity()
           
 String getSubsystem()
           
 Properties getSupplementalAttributes()
          Gets the supplemental attributes associated with this log record.
 String getThreadName()
           
 ThrowableInformation getThrowableInformation()
          Returns the throwable information contained within this event.
 long getTimestamp()
           
 String getTransactionId()
           
 String getUserId()
           
 String toString()
           
 
Methods inherited from class org.apache.log4j.spi.LoggingEvent
getFQNOfLoggerClass, getLevel, getLocationInformation, getLogger, getLoggerName, getMDC, getMDCCopy, getMessage, getNDC, getProperties, getProperty, getPropertyKeySet, getRenderedMessage, getStartTime, getThrowableStrRep, getTimeStamp, locationInformationExists, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getThrowableInformation

public ThrowableInformation getThrowableInformation()
Description copied from class: org.apache.log4j.spi.LoggingEvent
Returns the throwable information contained within this event. May be null if there is no such information.

Note that the Throwable object contained within a ThrowableInformation does not survive serialization.

Overrides:
getThrowableInformation in class LoggingEvent

getFormattedDate

public String getFormattedDate()
Gets the formatted date string


getId

public String getId()

getMachineName

public String getMachineName()

getServerName

public String getServerName()

getThreadName

public String getThreadName()
Overrides:
getThreadName in class LoggingEvent

getTransactionId

public String getTransactionId()

getUserId

public String getUserId()

getSeverity

public int getSeverity()

getSubsystem

public String getSubsystem()

getTimestamp

public long getTimestamp()

getLogMessage

public String getLogMessage()

toString

public String toString()
Overrides:
toString in class Object

getDiagnosticContextId

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


getDiagnosticVolume

public String getDiagnosticVolume()

getSupplementalAttributes

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

Returns:
the supplemental attributes of this log record.

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-01