class LogStashLogger::Device::UDP
Public Instance Methods
connect()
click to toggle source
# File lib/logstash-logger/device/udp.rb, line 4 def connect @io = UDPSocket.new.tap do |socket| socket.connect(@host, @port) socket.sync = sync unless sync.nil? end end