IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.core.logging
Class PDLog

java.lang.Object
  extended by com.ibm.rational.test.lt.core.logging.PDAbstractLog
      extended by com.ibm.rational.test.lt.core.logging.PDLog
All Implemented Interfaces:
IPDAbstractLog, IPDLog

public class PDLog
extends PDAbstractLog
implements IPDLog


Field Summary
static IPDLog INSTANCE
           
 
Fields inherited from interface com.ibm.rational.test.lt.core.logging.IPDAbstractLog
ALL, CONFIG, FINE, FINER, FINEST, INFO, NONE, SEVERE, WARNING
 
Constructor Summary
PDLog()
           
 
Method Summary
protected  int convertSeverityToLevel(int severity)
           
protected  void formatCommonBaseEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent, com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
           
protected  org.eclipse.hyades.logging.events.cbe.EventFactory getEventFactory(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
           
 String[] getExtendedDataElementValuesArray(String values)
           
protected static IPDLog getInstance()
           
protected  void logCommonBaseEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry, org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent)
           
 boolean wouldLog(ILTPlugin plugin, int severity)
          Log a CommonBaseEvent record.
protected  boolean wouldLog(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, int severity)
           
 
Methods inherited from class com.ibm.rational.test.lt.core.logging.PDAbstractLog
close, createAnEvent, log, log, log, log, log, log, log, log, log, log, log, log, prepareMessage, prepareMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.rational.test.lt.core.logging.IPDAbstractLog
log, log, log, log, log, log, log, log, log, log, log, log, prepareMessage, prepareMessage
 

Field Detail

INSTANCE

public static IPDLog INSTANCE
Constructor Detail

PDLog

public PDLog()
Method Detail

getInstance

protected static IPDLog getInstance()

wouldLog

public boolean wouldLog(ILTPlugin plugin,
                        int severity)
Log a CommonBaseEvent record.

Specified by:
wouldLog in interface IPDLog

wouldLog

protected boolean wouldLog(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
                           int severity)
Specified by:
wouldLog in class PDAbstractLog

getEventFactory

protected org.eclipse.hyades.logging.events.cbe.EventFactory getEventFactory(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
Specified by:
getEventFactory in class PDAbstractLog

formatCommonBaseEvent

protected void formatCommonBaseEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent,
                                     com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
Overrides:
formatCommonBaseEvent in class PDAbstractLog
Parameters:
commonBaseEvent - org.eclipse.hyades.logging.events.cbe.CommonBaseEvent
logEntry - com.ibm.rational.test.lt.core.loggin.PDAbstractLog.PDLogEntry

logCommonBaseEvent

protected void logCommonBaseEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry,
                                  org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent)
Specified by:
logCommonBaseEvent in class PDAbstractLog

convertSeverityToLevel

protected int convertSeverityToLevel(int severity)

getExtendedDataElementValuesArray

public String[] getExtendedDataElementValuesArray(String values)

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.