Package xappy :: Module replaylog :: Class ReplayLog
[frames] | no frames]

Class ReplayLog

source code

object --+
         |
        ReplayLog

Log of xapian calls, to be replayed.

Instance Methods
 
__init__(self, logpath)
Create a new replay log.
source code
 
log_call(self, call, *args)
Add a log message about a call.
source code
 
log_except(self, (etype, value, tb), call_id)
Log an exception which has occurred.
source code
 
log_retval(self, ret, call_id)
Log a return value.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, logpath)
(Constructor)

source code 
Create a new replay log.
Overrides: object.__init__

log_call(self, call, *args)

source code 

Add a log message about a call.

Returns a number for the call, so it can be tied to a particular result.