org.kuali.common.util.log
Class LoggingStreamConsumer

java.lang.Object
  extended by org.kuali.common.util.log.LoggingStreamConsumer
All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer

public final class LoggingStreamConsumer
extends Object
implements org.codehaus.plexus.util.cli.StreamConsumer


Constructor Summary
LoggingStreamConsumer(org.slf4j.Logger logger)
           
LoggingStreamConsumer(org.slf4j.Logger logger, LoggerLevel level)
           
 
Method Summary
 void consumeLine(String line)
           
 LoggerLevel getLevel()
           
 org.slf4j.Logger getLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingStreamConsumer

public LoggingStreamConsumer(org.slf4j.Logger logger)

LoggingStreamConsumer

public LoggingStreamConsumer(org.slf4j.Logger logger,
                             LoggerLevel level)
Method Detail

consumeLine

public void consumeLine(String line)
Specified by:
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer

getLogger

public org.slf4j.Logger getLogger()

getLevel

public LoggerLevel getLevel()


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.