Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05

weblogic.logging
Class WLLogRecord

java.lang.Object
  extended by java.util.logging.LogRecord
      extended by com.bea.logging.BaseLogRecord
          extended by weblogic.logging.WLLogRecord
All Implemented Interfaces:
Externalizable, Serializable

public class WLLogRecord
extends BaseLogRecord
implements Externalizable

WebLogic extensions to java.util.logging.LogRecord Defines the fields in the log records which are specific to WLS.

See Also:
Serialized Form

Constructor Summary
WLLogRecord(Level level, String msg)
          Initialize a WLLogRecord object given the logging Level and the log message.
WLLogRecord(Level level, String msg, Throwable th)
          Initialize a WLLogRecord object given the logging Level, the log message and the associated Throwable object.
 
Method Summary
 ThrowableInfo getThrowableInfo()
          Deprecated.  
 void setThrowableInfo(ThrowableInfo thInfo)
          Deprecated.  
 
Methods inherited from class com.bea.logging.BaseLogRecord
getDiagnosticContextId, getFormattedDate, getId, getLogMessage, getMachineName, getServerName, getSeverity, getSubsystem, getThreadName, getThrown, getTimestamp, getTransactionId, getUserId
 
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
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

WLLogRecord

public WLLogRecord(Level level,
                   String msg)
Initialize a WLLogRecord object given the logging Level and the log message.

Parameters:
level -
msg -

WLLogRecord

public WLLogRecord(Level level,
                   String msg,
                   Throwable th)
Initialize a WLLogRecord object given the logging Level, the log message and the associated Throwable object.

Parameters:
level -
msg -
th -
Method Detail

getThrowableInfo

public ThrowableInfo getThrowableInfo()
Deprecated. 

Gets the exception associated with this log event.


setThrowableInfo

public void setThrowableInfo(ThrowableInfo thInfo)
Deprecated. 

Sets the info about the Throwable associated with this log event.


Copyright 1996, 2011, 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
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05