Search in sources :

Example 1 with LogParentProvidedInterface

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();
}
Also used : HasLogChannelInterface(org.pentaho.di.core.logging.HasLogChannelInterface) HasLogChannelInterface(org.pentaho.di.core.logging.HasLogChannelInterface) LogChannelInterface(org.pentaho.di.core.logging.LogChannelInterface) LogBrowser(org.pentaho.di.ui.spoon.trans.LogBrowser) LogParentProvidedInterface(org.pentaho.di.core.logging.LogParentProvidedInterface)

Aggregations

HasLogChannelInterface (org.pentaho.di.core.logging.HasLogChannelInterface)1 LogChannelInterface (org.pentaho.di.core.logging.LogChannelInterface)1 LogParentProvidedInterface (org.pentaho.di.core.logging.LogParentProvidedInterface)1 LogBrowser (org.pentaho.di.ui.spoon.trans.LogBrowser)1