Sha256: 07cf0207c80370085e8d43c9108c2af21d2f43fb45d1501345c463763e009e67

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

module LogStashLogger
  module Device
    class UDP < Socket
      def connect
        @io = UDPSocket.new.tap do |socket|
          socket.connect(@host, @port)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-logger-0.5.0 lib/logstash-logger/device/udp.rb