本文整理汇总了Java中org.pentaho.di.core.logging.LogChannel.setLogLevel方法的典型用法代码示例。如果您正苦于以下问题:Java LogChannel.setLogLevel方法的具体用法?Java LogChannel.setLogLevel怎么用?Java LogChannel.setLogLevel使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.pentaho.di.core.logging.LogChannel
的用法示例。
在下文中一共展示了LogChannel.setLogLevel方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: PurRepositoryConnector
import org.pentaho.di.core.logging.LogChannel; //导入方法依赖的package包/类
public PurRepositoryConnector( PurRepository purRepository, PurRepositoryMeta repositoryMeta, RootRef rootRef ) {
log = new LogChannel( this.getClass().getSimpleName() );
if ( purRepository != null & purRepository.getLog() != null ) {
log.setLogLevel( purRepository.getLog().getLogLevel() );
}
this.purRepository = purRepository;
this.repositoryMeta = repositoryMeta;
this.rootRef = rootRef;
}
示例2: GPLoadDataOutput
import org.pentaho.di.core.logging.LogChannel; //导入方法依赖的package包/类
public GPLoadDataOutput(GPLoad gpLoad, GPLoadMeta meta, LogLevel logLevel)
{
this(gpLoad, meta);
log = new LogChannel(this);
log.setLogLevel(logLevel);
}
示例3: createLogChannel
import org.pentaho.di.core.logging.LogChannel; //导入方法依赖的package包/类
private static LogChannel createLogChannel(String string) {
LogChannel logChannel = new LogChannel(string);
logChannel.setLogLevel(LogLevel.BASIC);
return logChannel;
}
示例4: createLogChannel
import org.pentaho.di.core.logging.LogChannel; //导入方法依赖的package包/类
private static LogChannel createLogChannel( String string ) {
LogChannel logChannel = new LogChannel( string );
logChannel.setLogLevel( LogLevel.BASIC );
return logChannel;
}
示例5: GPLoadDataOutput
import org.pentaho.di.core.logging.LogChannel; //导入方法依赖的package包/类
public GPLoadDataOutput( GPLoad gpLoad, GPLoadMeta meta, LogLevel logLevel ) {
this( gpLoad, meta );
log = new LogChannel( this );
log.setLogLevel( logLevel );
}