code: def log(self, severity, message):
          
  
          self._err.write("%s %s\n" % (severity, message))
          self._err.flush()
docs: Logs messages about the state of this modular input to Splunk.
          These messages will show up in Splunk's internal logs.
  
          :param severity: ``string``, severity of message, see severities defined as class constants.
          :param message: ``string``, message to log.