logger¶
Statistics collector helper class for pdf2xlsx
-
class
pdf2xlsx.logger.StatLogger¶ Collect statistic about the zip to xlsx process. Assembles a list containin invoice number of items. Every item is the number of entries found during the invoice parsing. It implements a simple API: new_invo(), new_entr() and __str__() A new instance contains an empty list: invo_list
-
new_entr()¶ When a new entry was found increase the entry counter for the current invoice.
-
new_invo()¶ When a new invoice was found create a new invoice log instance The current implementation is a simple list of numbers
-