com.tivoli.jflt
Class LogItem

java.lang.Object
  |
  +--com.tivoli.jflt.LogItem

public class LogItem
extends java.lang.Object
implements java.io.Serializable

LogItem is used within this logging system to encapsulate message data created by an application. An application should not need to manipulate LogItems. They should only be used by a logging specialization that wishes to manage log information.

Version:
1.1
Author:
Cosimo Vampo, Raimondo Castino
See Also:
Serialized Form

Constructor Summary
LogItem(long type, java.lang.Object loggingClass, java.lang.String methodName, java.lang.String text, long time)
          Creates a new LogItem object with the given logging information.
 
Method Summary
 java.lang.Object getLoggingClass()
          Returns the class name.
 java.lang.String getLoggingMethod()
          Returns the method name.
 java.lang.String getText()
          Returns the message text.
 long getTimeStamp()
          Returns the time stamp.
 long getType()
          Returns the logging type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogItem

public LogItem(long type,
               java.lang.Object loggingClass,
               java.lang.String methodName,
               java.lang.String text,
               long time)
Creates a new LogItem object with the given logging information.
Method Detail

getType

public long getType()
Returns the logging type. These types are defined by LogType.

getTimeStamp

public long getTimeStamp()
Returns the time stamp.

getText

public java.lang.String getText()
Returns the message text.

getLoggingClass

public java.lang.Object getLoggingClass()
Returns the class name.

getLoggingMethod

public java.lang.String getLoggingMethod()
Returns the method name.