Method: EventMachine::Protocols::Syslog.send_msg

Defined in:
lib/em/syslog.rb

.send_msg(data) ⇒ Object



35
36
37
38
39
# File 'lib/em/syslog.rb', line 35

def send_msg(data)
  EM.next_tick{
    EM.syslog_sd.send_datagram(data, EM.syslog_server, EM.syslog_port) 
  }
end