public class PDExecutionLog extends PDAbstractLog implements IPDExecutionLog
Modifier and Type | Field and Description |
---|---|
static IPDExecutionLog |
INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
PDExecutionLog() |
Modifier and Type | Method and Description |
---|---|
void |
addPDXLogFilter(com.ibm.rational.test.lt.core.logging.IPDXLogFilter f) |
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) |
void |
log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
String msgCatalogId,
int severity,
String[] tokens) |
void |
log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
String msgCatalogId,
int severity,
String[] tokens,
String correlationValue) |
void |
log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
String msgCatalogId,
int severity,
String[] tokens,
Throwable exception) |
void |
log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
String msgCatalogId,
int severity,
String[] tokens,
Throwable exception,
String correlationValue) |
protected void |
logCommonBaseEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry,
org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent) |
String |
prepareMessage(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
String msgCatalogId,
int severity,
String[] tokens)
Prepare a Message.
|
void |
resetFormatter() |
void |
setLogLevel(int logLevel) |
boolean |
wouldLog(ILTExecutionSubComponent subComponent,
int severity)
Log a
CommonBaseEvent record. |
protected boolean |
wouldLog(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
int severity) |
close, createAnEvent, getStatus, log, log, log, log, log, log, log, log, prepareMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatus
log, log, log, log, log, log, log, log, prepareMessage
public static IPDExecutionLog INSTANCE
public void addPDXLogFilter(com.ibm.rational.test.lt.core.logging.IPDXLogFilter f)
addPDXLogFilter
in interface IPDExecutionLog
public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens, String correlationValue)
log
in interface IPDAbstractLog
log
in class PDAbstractLog
public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens, Throwable exception, String correlationValue)
log
in interface IPDAbstractLog
log
in class PDAbstractLog
public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens, Throwable exception)
log
in interface IPDAbstractLog
log
in class PDAbstractLog
public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens)
log
in interface IPDAbstractLog
log
in class PDAbstractLog
public String prepareMessage(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens)
PDAbstractLog
prepareMessage
in interface IPDAbstractLog
prepareMessage
in class PDAbstractLog
public boolean wouldLog(ILTExecutionSubComponent subComponent, int severity)
CommonBaseEvent
record.wouldLog
in interface IPDExecutionLog
protected boolean wouldLog(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, int severity)
wouldLog
in class PDAbstractLog
public void setLogLevel(int logLevel)
setLogLevel
in interface IPDExecutionLog
protected org.eclipse.hyades.logging.events.cbe.EventFactory getEventFactory(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
getEventFactory
in class PDAbstractLog
protected void formatCommonBaseEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent, com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
formatCommonBaseEvent
in class PDAbstractLog
commonBaseEvent
- org.eclipse.hyades.logging.events.cbe.CommonBaseEventlogEntry
- com.ibm.rational.test.lt.core.loggin.PDAbstractLog.PDLogEntrypublic void resetFormatter()
resetFormatter
in interface IPDExecutionLog
protected void logCommonBaseEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry, org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent)
logCommonBaseEvent
in class PDAbstractLog
© Copyright IBM Corp. 2013. All rights reserved.