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
- filename
str
Log file to read
- timerange
Sequence
, optional Start and end time of log timestamps to process, default all.
(datetime
)
Methods
Attributes
-
setTimerange(timerange)[source]
Sets the time range for this report
- Parameters
- timerange
Sequence
, 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