com.ibm.rational.test.lt.core.logging
Class PDLog
java.lang.Object
com.ibm.rational.test.lt.core.logging.PDAbstractLog
com.ibm.rational.test.lt.core.logging.PDLog
- All Implemented Interfaces:
- IPDAbstractLog, IPDLog
public class PDLog
- extends PDAbstractLog
- implements IPDLog
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 |
INSTANCE
public static IPDLog INSTANCE
PDLog
public PDLog()
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.CommonBaseEventlogEntry
- 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)
© Copyright IBM Corp. 2012. All rights reserved.