org.codehaus.plexus.service.jetty
Class PlexusJettyLogSink

java.lang.Object
  extended by org.codehaus.plexus.service.jetty.PlexusJettyLogSink
All Implemented Interfaces:
java.io.Serializable, org.mortbay.log.LogSink, org.mortbay.util.LifeCycle

public class PlexusJettyLogSink
extends java.lang.Object
implements org.mortbay.log.LogSink

Version:
$Id: PlexusJettyLogSink.java 1550 2005-03-15 05:48:31Z trygvis $
Author:
Trygve Laugstøl
See Also:
Serialized Form

Constructor Summary
PlexusJettyLogSink(org.codehaus.plexus.logging.Logger logger)
           
 
Method Summary
 java.lang.String getOptions()
           
 boolean isStarted()
           
 void log(java.lang.String formattedLog)
           
 void log(java.lang.String tag, java.lang.Object message, org.mortbay.log.Frame frame, long time)
           
 void setLogImpl(org.mortbay.log.LogImpl impl)
           
 void setOptions(java.lang.String s)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusJettyLogSink

public PlexusJettyLogSink(org.codehaus.plexus.logging.Logger logger)
Method Detail

setOptions

public void setOptions(java.lang.String s)

getOptions

public java.lang.String getOptions()

log

public void log(java.lang.String tag,
                java.lang.Object message,
                org.mortbay.log.Frame frame,
                long time)
Specified by:
log in interface org.mortbay.log.LogSink

log

public void log(java.lang.String formattedLog)
Specified by:
log in interface org.mortbay.log.LogSink

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface org.mortbay.util.LifeCycle
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.InterruptedException
Specified by:
stop in interface org.mortbay.util.LifeCycle
Throws:
java.lang.InterruptedException

isStarted

public boolean isStarted()
Specified by:
isStarted in interface org.mortbay.util.LifeCycle

setLogImpl

public void setLogImpl(org.mortbay.log.LogImpl impl)
Specified by:
setLogImpl in interface org.mortbay.log.LogSink


Copyright © {inceptionYear}-2008 null. All Rights Reserved.