Class: Fluent::UnixOutput

Inherits:
StreamOutput show all
Defined in:
lib/fluent/plugin/out_stream.rb

Overview

obsolete

Constant Summary

Constants included from Configurable

Configurable::CONFIG_TYPE_REGISTRY

Instance Attribute Summary

Attributes inherited from Output

#router

Attributes included from PluginLoggerMixin

#log

Instance Method Summary collapse

Methods inherited from StreamOutput

#flush_secondary, #format_stream, #write

Methods inherited from BufferedOutput

#before_shutdown, #calc_retry_wait, #emit, #enqueue_buffer, #flush_secondary, #force_flush, #format_stream, #shutdown, #start, #submit_flush, #try_flush, #write_abort

Methods inherited from Output

#secondary_init, #shutdown, #start

Methods included from PluginLoggerMixin

included

Methods included from PluginId

#plugin_id

Methods included from Configurable

#config, included, lookup_type, register_type

Constructor Details

#initializeUnixOutput

Returns a new instance of UnixOutput.



110
111
112
113
# File 'lib/fluent/plugin/out_stream.rb', line 110

def initialize
  super
  $log.warn "'unix' output is obsoleted and will be removed."
end

Instance Method Details

#configure(conf) ⇒ Object



117
118
119
# File 'lib/fluent/plugin/out_stream.rb', line 117

def configure(conf)
  super
end

#connectObject



121
122
123
# File 'lib/fluent/plugin/out_stream.rb', line 121

def connect
  UNIXSocket.new(@path)
end