Module: RemoteSyslogLogger

Defined in:
lib/remote_syslog_logger.rb,
lib/remote_syslog_logger/udp_sender.rb

Defined Under Namespace

Classes: UdpSender

Constant Summary collapse

VERSION =
'1.0.4'

Class Method Summary collapse

Class Method Details

.new(remote_hostname, remote_port, options = {}) ⇒ Object



8
9
10
# File 'lib/remote_syslog_logger.rb', line 8

def self.new(remote_hostname, remote_port, options = {})
  Logger.new(RemoteSyslogLogger::UdpSender.new(remote_hostname, remote_port, options))
end