module MEE::RFC5424

Constants

VERSION

Public Class Methods

tcp( host, port ) click to toggle source
# File lib/mee/rfc5424.rb, line 125
def self.tcp( host, port )
        protocol = SyslogClient.new( SocketTransport.new( TCPFactory.new( host, port ) ) )
        LoggerProtocolAdapter.new( protocol )
end
tls( host, port ) click to toggle source
# File lib/mee/rfc5424.rb, line 130
def self.tls( host, port )
        protocol = SyslogClient.new( SocketTransport.new( TLSFactory.new( host, port ) )  )
        LoggerProtocolAdapter.new( protocol )
end