org.apache.cocoon.portlet
Class PortletOutputLogTarget

java.lang.Object
  extended by org.apache.log.output.AbstractTarget
      extended by org.apache.log.output.AbstractOutputTarget
          extended by org.apache.cocoon.portlet.PortletOutputLogTarget
All Implemented Interfaces:
ErrorAware, LogTarget, Closeable

public class PortletOutputLogTarget
extends AbstractOutputTarget

Log output target for JSR-168 Portlet context

Version:
CVS $Id: PortletOutputLogTarget.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Alex Rudnev, Vadim Gritsenko

Constructor Summary
PortletOutputLogTarget(javax.portlet.PortletContext context)
           
PortletOutputLogTarget(javax.portlet.PortletContext context, Formatter formatter)
           
 
Method Summary
 void close()
           
protected  void write(String message)
           
 
Methods inherited from class org.apache.log.output.AbstractOutputTarget
doProcessEvent, getFormatter, open
 
Methods inherited from class org.apache.log.output.AbstractTarget
getErrorHandler, isOpen, processEvent, setErrorHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletOutputLogTarget

public PortletOutputLogTarget(javax.portlet.PortletContext context)

PortletOutputLogTarget

public PortletOutputLogTarget(javax.portlet.PortletContext context,
                              Formatter formatter)
Method Detail

write

protected void write(String message)
Overrides:
write in class AbstractOutputTarget

close

public void close()
Specified by:
close in interface Closeable
Overrides:
close in class AbstractOutputTarget


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.