docs: def flush_buffer(self):
          ''' Flush the buffer of the tail '''
          if len(self.buffer) > 0:
              return_value = ''.join(self.buffer)
              self.buffer.clear()
              self.send_message(return_value)
              self.last_flush_date = datetime.datetime.now()