Sha256: ce1becc126feee888821b14a359094a322482ffb1ceb678feb89b7a3b28a86ae
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
require 'remote_syslog_sender_ms/udp_sender' require 'remote_syslog_sender_ms/tcp_sender' module RemoteSyslogSender VERSION = '1.3.2' def self.new(remote_hostname, remote_port, options = {}) protocol = options.delete(:protocol) if protocol && protocol.to_sym == :tcp TcpSender.new(remote_hostname, remote_port, options) else UdpSender.new(remote_hostname, remote_port, options) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
remote_syslog_sender_ms-1.3.2 | lib/remote_syslog_sender_ms.rb |