dbprocessing.reports.logfile

class dbprocessing.reports.logfile(filename, timerange=None)[source]

class to hold a datafile

__init__(filename, timerange=None)[source]

read in the file and collect what we need

Parameters
filenamestr

Log file to read

timerangeSequence, optional

Start and end time of log timestamps to process, default all. (datetime)

Methods

setTimerange(timerange)

Sets the time range for this report

Attributes

setTimerange(timerange)[source]

Sets the time range for this report

Parameters
timerangeSequence, optional

Start and end time of log timestamps to process, default all. (datetime)

errors

All lines in the log with errors (list of str)


Release: 0.1.0 Doc generation date: Feb 10, 2022