org.logicalcobwebs.proxool.configuration
Class LogKitTargetAdapter

java.lang.Object
  extended by AbstractOutputTarget
      extended by org.logicalcobwebs.proxool.configuration.LogKitTargetAdapter

public class LogKitTargetAdapter
extends AbstractOutputTarget

An Avalon LogKit target that delegates to a Jakarta Commons org.logicalcobwebs.logging.Log. Can be used to make Avalons internal logging go the same output as the Proxool internal logging.

Since:
Proxool 0.6
Version:
$Revision: 1.5 $, $Date: 2003/03/04 10:24:41 $
Author:
Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)

Field Summary
private  boolean isOpen
           
 
Constructor Summary
LogKitTargetAdapter()
           
 
Method Summary
 void close()
           
protected  void doProcessEvent(LogEvent event)
           
protected  boolean isOpen()
           
protected  void open()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isOpen

private boolean isOpen
Constructor Detail

LogKitTargetAdapter

public LogKitTargetAdapter()
Method Detail

doProcessEvent

protected void doProcessEvent(LogEvent event)
See Also:
org.apache.log.output.AbstractOutputTarget#doProcessEvent(org.apache.log.LogEvent)

isOpen

protected boolean isOpen()
See Also:
org.apache.log.output.AbstractOutputTarget#isOpen()

open

protected void open()
See Also:
org.apache.log.output.AbstractOutputTarget#open()

close

public void close()
See Also:
org.apache.log.output.AbstractOutputTarget#close()