Back to index

plone3  3.1.7
Public Member Functions | Public Attributes Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes


Detailed Description

The executor for this action.

This is registered as an adapter in configure.zcml

Definition at line 58 of file

Constructor & Destructor Documentation

def (   self,

Definition at line 66 of file

00067     def __init__(self, context, element, event):
00068         self.context = context
00069         self.element = element
00070         self.event = event

Here is the caller graph for this function:

Member Function Documentation

Definition at line 71 of file

00072     def __call__(self):
00073         logger = logging.getLogger(self.element.targetLogger)
00074         processedMessage = self.element.message.replace("&e", "%s.%s" % (self.event.__class__.__module__, self.event.__class__.__name__))
00075         if IObjectEvent.providedBy(self.event):
00076             processedMessage = processedMessage.replace("&c", repr(self.event.object))
00077         logger.log(self.element.loggingLevel, processedMessage)
00078         return True 

Here is the caller graph for this function:

Member Data Documentation

Definition at line 67 of file

Definition at line 68 of file

Definition at line 69 of file

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