Class: RemoteSyslogLogger::UdpSender
- Defined in:
- lib/remote_syslog_logger/udp_sender.rb
Instance Method Summary collapse
-
#initialize(remote_hostname, remote_port, options = {}) ⇒ UdpSender
constructor
A new instance of UdpSender.
Methods inherited from Sender
Constructor Details
#initialize(remote_hostname, remote_port, options = {}) ⇒ UdpSender
Returns a new instance of UdpSender.
7 8 9 10 |
# File 'lib/remote_syslog_logger/udp_sender.rb', line 7 def initialize(remote_hostname, remote_port, = {}) super @socket = UDPSocket.new end |