class Fluent::TcpOutput

obsolete

Public Class Methods

new() click to toggle source
Calls superclass method Fluent::BufferedOutput.new
# File lib/fluent/plugin/out_stream.rb, line 88
def initialize
  super
  $log.warn "'tcp' output is obsoleted and will be removed. Use 'forward' instead."
  $log.warn "see 'forward' section in http://docs.fluentd.org/ for the high-availability configuration."
end

Public Instance Methods

configure(conf) click to toggle source
Calls superclass method Fluent::StreamOutput#configure
# File lib/fluent/plugin/out_stream.rb, line 97
def configure(conf)
  super
end
connect() click to toggle source
# File lib/fluent/plugin/out_stream.rb, line 101
def connect
  TCPSocket.new(@host, @port)
end