org.kuali.common.util
Class LoggingStreamConsumer

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

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


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

Constructor Detail

LoggingStreamConsumer

public LoggingStreamConsumer()

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()

setLogger

public void setLogger(org.slf4j.Logger logger)

getLevel

public LoggerLevel getLevel()

setLevel

public void setLevel(LoggerLevel level)


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