Sha256: 7b0d13fdb300f51e8b5783771c9b14c3fd02c58c92c491ec51bcf0863418593d
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
require 'remote_syslog_sender_ms/udp_sender' require 'remote_syslog_sender_ms/tcp_sender' module RemoteSyslogSender VERSION = '1.0.3' 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.0 | lib/remote_syslog_sender_ms.rb |