Class: Fluent::UnixOutput

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

Overview

obsolete

Instance Attribute Summary

Attributes included from Configurable

#config

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 PluginId

#plugin_id, #require_id

Methods included from Configurable

included

Constructor Details

#initializeUnixOutput

Returns a new instance of UnixOutput.



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

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

Instance Method Details

#configure(conf) ⇒ Object



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

def configure(conf)
  super
end

#connectObject



126
127
128
# File 'lib/fluent/plugin/out_stream.rb', line 126

def connect
  UNIXSocket.new(@path)
end