pyreporting.reporting.RecordCache#

class RecordCache(log_function)[source]#

Bases: object

Keeps track of cached messages

Methods

add

Add message to cache

show_and_clear

Clear the message cache and report all messages

class PendingRecord(level, prefix, identifier, text, supplementary_info, exception, count=1)[source]#

Bases: object

Record of specific cached messages

add(level, prefix, identifier, message, supplementary_info, exception)[source]#

Add message to cache

show_and_clear()[source]#

Clear the message cache and report all messages