# dbprocessing

# dbprocessing.reports.logfile

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

  class to hold a datafile

  __init__(filename, timerange=None)

    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

  `setTimerange`(timerange) | Sets the time range for this report

  Attributes

  `errors`
  setTimerange(timerange)

    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