ERCMailMessageAppender Class Reference

Inherits er::extensions::logging::ERXMailAppender.

Collaboration diagram for ERCMailMessageAppender:

Collaboration graph
[legend]

List of all members.

Public Member Functions

NSMutableDictionary composeExceptionPageDictionary (LoggingEvent event)
EOEditingContext editingContext ()
 ERCMailMessageAppender ()
String getExceptionPageName ()
void subAppend (LoggingEvent event)

Protected Member Functions

boolean hasCooperatingObjectStores ()

Protected Attributes

EOEditingContext editingContext

Static Protected Attributes

static final
ERXEditingContextDelegate 
_delegate = new ERXEditingContextDelegate()


Detailed Description

Basic log4j Mail Message Appender
Used for logging log events to a database that will eventually be emailed out. Logs events using ERCMailDelivery.
See also:
er.extensions.logging.ERXMailAppender for more info.

Constructor & Destructor Documentation

Public constructor.


Member Function Documentation

NSMutableDictionary composeExceptionPageDictionary ( LoggingEvent  event  ) 

Overridden to add the Actor into the dictionary.

Parameters:
event logging event

Reimplemented from ERXMailAppender.

EOEditingContext editingContext (  ) 

Gets the editing context to use for creating mail messages in.

Returns:
editing context with a no-op delegate set.

String getExceptionPageName (  ) 

Overridden because we want to use our own page

Reimplemented from ERXMailAppender.

boolean hasCooperatingObjectStores (  )  [protected]

We want the ability to warn if we are going to be creating the first cooperating object store. Not a bad thing just a condition that might cause a strange EOF issue if it occurs.

Returns:
if the default object store coordinator has any cooperating object stores.

void subAppend ( LoggingEvent  event  ) 

Where the actual logging event is processed and a mail message is generated.

Parameters:
event logging event

Reimplemented from ERXMailAppender.


Member Data Documentation

caches the no-op editing context delegate

EOEditingContext editingContext [protected]

holds the editing context


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

Generated on Sat May 26 06:42:47 2012 for Project Wonder by  doxygen 1.5.8