Back to index

plone3  3.1.7
Public Member Functions | Private Attributes
GenericSetup.testing.DummyLogger Class Reference

List of all members.

Public Member Functions

def __init__
def info
def warning

Private Attributes

 _id
 _messages

Detailed Description

Definition at line 37 of file testing.py.


Constructor & Destructor Documentation

def GenericSetup.testing.DummyLogger.__init__ (   self,
  id,
  messages 
)

Definition at line 39 of file testing.py.

00039 
00040     def __init__(self, id, messages):
00041         self._id = id
00042         self._messages = messages


Member Function Documentation

def GenericSetup.testing.DummyLogger.info (   self,
  msg,
  args,
  kwargs 
)

Definition at line 43 of file testing.py.

00043 
00044     def info(self, msg, *args, **kwargs):
00045         self._messages.append((20, self._id, msg))

Here is the caller graph for this function:

def GenericSetup.testing.DummyLogger.warning (   self,
  msg,
  args,
  kwargs 
)

Definition at line 46 of file testing.py.

00046 
00047     def warning(self, msg, *args, **kwargs):
00048         self._messages.append((30, self._id, msg))
00049 


Member Data Documentation

Definition at line 40 of file testing.py.

Definition at line 41 of file testing.py.


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