org.apache.log.output
Class NullOutputLogTarget

java.lang.Object
  extended byorg.apache.log.output.AbstractTarget
      extended byorg.apache.log.output.AbstractOutputTarget
          extended byorg.apache.log.output.NullOutputLogTarget
All Implemented Interfaces:
Closeable, ErrorAware, LogTarget

public class NullOutputLogTarget
extends AbstractOutputTarget

A output target that does nothing. Useful for profiling.

Author:
Avalon Development Team, Peter Donald

Constructor Summary
NullOutputLogTarget()
          Creation of a new null log target.
 
Method Summary
protected  void write(java.lang.String data)
          Do nothing output method.
 
Methods inherited from class org.apache.log.output.AbstractOutputTarget
close, 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

NullOutputLogTarget

public NullOutputLogTarget()
Creation of a new null log target.

Method Detail

write

protected void write(java.lang.String data)
Do nothing output method.

Overrides:
write in class AbstractOutputTarget
Parameters:
data - the data to be output


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.