use of org.pentaho.di.core.logging.LogParentProvidedInterface in project pdi-dataservice-server-plugin by pentaho.
the class DataServiceTestLogBrowser method attachToLogBrowser.
public void attachToLogBrowser(final LogChannelInterface logChannel) {
initStyledText(parentComposite);
LogBrowser logBrowser = new LogBrowser(logText, new LogParentProvidedInterface() {
@Override
public HasLogChannelInterface getLogChannelProvider() {
return new HasLogChannelInterface() {
@Override
public LogChannelInterface getLogChannel() {
return logChannel;
}
};
}
});
logBrowser.installLogSniffer();
}
Aggregations