class: TestAppender

private class: TestAppender
Author: Peter Broszeit (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1850 $ $LastChangedDate: 2008-12-17 13:; Complexity: 1
Dates: Created: 16.07.2009 15:31:35; Modified: 16.07.2009 15:31:35;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {0D188610-1A13-463a-BEFD-3E0A4CBA14DB}
A simple Appender for the logging test.
 

Goto: Custom Properties, Fields, Methods

Appears in: logging

Custom Properties
 
TestAppender Attributes
Attribute Details
private LoggingEvent
  lastLoggingEvent
 
TestAppender Methods
Operation Details
protected
append(
   LoggingEvent loggingevent):void
Sequential
Tags: annotations=@Override
Notes: (non-Javadoc)
@see org.apache.log4j.AppenderSkeleton#append(org.apache.log4j.spi.LoggingEvent)
public
close():void
Sequential
Notes: (non-Javadoc)
@see org.apache.log4j.AppenderSkeleton#close()
public
getLastLoggingEvent():LoggingEvent
Sequential
Notes: Returns the last logging event which is set by append.
@return the lastLoggingEvent
public
requiresLayout():boolean
Sequential
Notes: (non-Javadoc)
@see org.apache.log4j.AppenderSkeleton#requiresLayout()