ERXConsoleAppender Class Reference

Inherits org::apache::log4j::ConsoleAppender.

Collaboration diagram for ERXConsoleAppender:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXConsoleAppender (Layout layout, String target)
 ERXConsoleAppender (Layout layout)
 ERXConsoleAppender ()

Protected Member Functions

void subAppend (LoggingEvent event)

Static Private Attributes

static final String LAST_THROWABLE_KEY = "er.extensions.logging.ERXConsoleAppender.lastThrowable"


Detailed Description

ERXConsoleAppender is just like ConsoleAppender except that it display stack traces using ERXExceptionUtilities. Additionally, it will not log the same exception twice in a row, preventing the annoying problem where you may log from multiple places in your code and produce multiple copies of the same exception trace.

Author:
mschrag

Constructor & Destructor Documentation

ERXConsoleAppender ( Layout  layout  ) 

ERXConsoleAppender ( Layout  layout,
String  target 
)


Member Function Documentation

void subAppend ( LoggingEvent  event  )  [protected]


Member Data Documentation

final String LAST_THROWABLE_KEY = "er.extensions.logging.ERXConsoleAppender.lastThrowable" [static, private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:16 2012 for Project Wonder by  doxygen 1.5.8