|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.platform.dataintegration.DataIntegrationLogFactory
public class DataIntegrationLogFactory
Factory for getting Data Integration Loggers.
| Constructor Summary | |
|---|---|
DataIntegrationLogFactory()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
finishAggregating(DataIntegration di)
Finishes an aggregated log operation, and records all intercepted log entries to the DataIntegration log. |
static java.lang.String |
finishAggregating(DataIntegration di,
boolean recordChronologically)
Finishes an aggregated log operation, and records all intercepted log entries to the DataIntegration log. |
static AggregatingLogger |
getAggregatingLogger(DataIntegration di)
Get the current aggregating logger for the specified data integration. |
static Log |
getInstanceByDataIntegration(DataIntegration integration)
Get the Log of the DataIntegration specified. |
static Log |
getSystemInstance()
Get the DataIntegrationLog that is not associated with any specific DataIntegration. |
static void |
setOverrideLog(Log log)
|
static void |
setOverrideLogSink(blackboard.platform.log.impl.LogSink logSink)
|
static void |
startAggregating(DataIntegration di)
Start aggregating log messages for the specified data integration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataIntegrationLogFactory()
| Method Detail |
|---|
public static Log getInstanceByDataIntegration(DataIntegration integration)
Log of the DataIntegration specified.
integration - The data integration whose logger should be retrieved.public static Log getSystemInstance()
This is the same as
calling DataIntegrationLogFactory.getInstanceByDataIntegration( null ) .
public static void setOverrideLog(Log log)
public static void setOverrideLogSink(blackboard.platform.log.impl.LogSink logSink)
public static void startAggregating(DataIntegration di)
di - The data integration to start aggregating log messages for.public static java.lang.String finishAggregating(DataIntegration di)
di - Integration to stop agreggation for
public static java.lang.String finishAggregating(DataIntegration di,
boolean recordChronologically)
di - Integration to stop agreggation forrecordChronologically - Indicates that log entries should be recorded chronologically. If this is false,
entries will be sorted by decreasing priority and then chronologically.
public static AggregatingLogger getAggregatingLogger(DataIntegration di)
di - Integration to get the aggregating logger for.
java.lang.RuntimeException - if aggregation has not been started on the data integration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||