(self, message, level)
Send a syslog message to remote host using UDP.
Send a syslog message to remote host using UDP.
Send a syslog message to remote host using UDP .
def send(self, message, level):
    "Send a syslog message to remote host using UDP."
    data = "<%d>%s" % (level + self.facility*8, message)
    self.socket.sendto(data, (self.host, self.port))
def send ( self , message , level ) : data = "<%d>%s" % ( level + self . facility * 8 , message ) self . socket . sendto ( data , ( self . host , self . port ) )