code: def _outputLine(self, logevent, length=None, human=False):
          
          # adapt timezone output if necessary
          if self.args['timestamp_format'] != 'none':
              logevent._reformat_timestamp(self.args['timestamp_format'],
                                           force=True)
          if any(self.args['timezone']):
              if self.args['timestamp_format'] == 'none':
                  self.args['timestamp_format'] = logevent.datetime_format
              logevent._reformat_timestamp(self.args['timestamp_format'],
                                           force=True)
  
          if self.args['json']:
              print(logevent.to_json())
              return
          line = logevent.line_str
  
          if length:
              if len(line) > length:
                  line = (line[:int(length / 2 - 2)] + '...' +
                          line[int(-length / 2 + 1):])
          if human:
              line = self._changeMs(line)
              line = self._formatNumbers(line)
  
          print(line)
docs: Print the final line.
  
          Provides various options (length, human, datetime changes, ...).