BEA Systems, Inc.

com.bea.logging
Interface BaseLogEntry

All Known Implementing Classes:
BaseLogRecord, WLLogRecord

Deprecated. 10.0.1.0

public interface BaseLogEntry


Field Summary
static String DEFAULT_ID
          Deprecated.  
static String DEFAULT_SUBSYSTEM
          Deprecated.  
 
Method Summary
 void ensureFormattedDateInitialized(DateFormatter df)
          Deprecated. Formats the timestamp
 String getDiagnosticContextId()
          Deprecated. Gets the diagnostic context id associated with this log event.
 String getFormattedDate()
          Deprecated. Gets the formatted date string
 String getId()
          Deprecated. Gets the message id of this log entry
 String getLogMessage()
          Deprecated. Gets the message content of this log entry.
 String getMachineName()
          Deprecated. Gets the machine name on which this log entry was created
 String getServerName()
          Deprecated. Gets the server name on which this log entry was created
 int getSeverity()
          Deprecated. Gets the severity level for this message.
 String getSubsystem()
          Deprecated. Gets the name of the subsystem emitting this message
 String getThreadName()
          Deprecated. Gets the thread name in which this event was generated.
 ThrowableWrapper getThrowableWrapper()
          Deprecated. Gets the exception associated with this log event.
 long getTimestamp()
          Deprecated. Gets the timestamp when this message was created.
 String getTransactionId()
          Deprecated. Gets the JTA transaction id.
 String getUserId()
          Deprecated. Gets the user id who generated this log event.
 void setDiagnosticContextId(String diagnosticContextId)
          Deprecated. Set the diagnostic context id
 void setMachineName(String machineName)
          Deprecated. Set the machine name
 void setServerName(String serverName)
          Deprecated. Set the server name
 void setThrowableWrapper(ThrowableWrapper throwableWrapper)
          Deprecated. Sets the wrapper over the throwable associated with this message.
 void setTransactionId(String txId)
          Deprecated. Set the transaction id
 void setUserId(String userId)
          Deprecated. Set the user id
 

Field Detail

DEFAULT_ID

static final String DEFAULT_ID
Deprecated. 
See Also:
Constant Field Values

DEFAULT_SUBSYSTEM

static final String DEFAULT_SUBSYSTEM
Deprecated. 
See Also:
Constant Field Values
Method Detail

ensureFormattedDateInitialized

void ensureFormattedDateInitialized(DateFormatter df)
Deprecated. 
Formats the timestamp

Parameters:
df -

getFormattedDate

String getFormattedDate()
Deprecated. 
Gets the formatted date string

Returns:

getId

String getId()
Deprecated. 
Gets the message id of this log entry

Returns:

getMachineName

String getMachineName()
Deprecated. 
Gets the machine name on which this log entry was created

Returns:

getServerName

String getServerName()
Deprecated. 
Gets the server name on which this log entry was created

Returns:

getThreadName

String getThreadName()
Deprecated. 
Gets the thread name in which this event was generated.

Returns:

getUserId

String getUserId()
Deprecated. 
Gets the user id who generated this log event.

Returns:

getTransactionId

String getTransactionId()
Deprecated. 
Gets the JTA transaction id.

Returns:

getSeverity

int getSeverity()
Deprecated. 
Gets the severity level for this message.

Returns:

getSubsystem

String getSubsystem()
Deprecated. 
Gets the name of the subsystem emitting this message

Returns:

getTimestamp

long getTimestamp()
Deprecated. 
Gets the timestamp when this message was created.

Returns:

getLogMessage

String getLogMessage()
Deprecated. 
Gets the message content of this log entry.

Returns:

getThrowableWrapper

ThrowableWrapper getThrowableWrapper()
Deprecated. 
Gets the exception associated with this log event.


getDiagnosticContextId

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


setUserId

void setUserId(String userId)
Deprecated. 
Set the user id

Parameters:
userId -

setTransactionId

void setTransactionId(String txId)
Deprecated. 
Set the transaction id

Parameters:
txId -

setMachineName

void setMachineName(String machineName)
Deprecated. 
Set the machine name

Parameters:
machineName -

setServerName

void setServerName(String serverName)
Deprecated. 
Set the server name

Parameters:
serverName -

setDiagnosticContextId

void setDiagnosticContextId(String diagnosticContextId)
Deprecated. 
Set the diagnostic context id

Parameters:
diagnosticContextId -

setThrowableWrapper

void setThrowableWrapper(ThrowableWrapper throwableWrapper)
Deprecated. 
Sets the wrapper over the throwable associated with this message.

Parameters:
throwableWrapper -

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.