parameters: (cls, line)
docstring: Parse one line of the log file.
docstring_summary: Parse one line of the log file.
docstring_tokens: Parse one line of the log file .
function: def parse_line(cls, line):
          """Parse one line of the log file.
          """
          regex = re.compile(cls.pattern)
          m = regex.search(line)
          if m:
              data = m.groupdict()
              data = cls.post_process(data)
              if cls.date_format:
                  data['time'] = cls.convert_time(data['time'])
              else:
                  data['time'] = datetime.now()
              return data
          else:
              return {}
function_tokens: def parse_line ( cls , line ) : regex = re . compile ( cls . pattern ) m = regex . search ( line ) if m : data = m . groupdict ( ) data = cls . post_process ( data ) if cls . date_format : data [ 'time' ] = cls . convert_time ( data [ 'time' ] ) else : data [ 'time' ] = datetime . now ( ) return data else : return { }