Sha256: c926a7db640135ce8b197c2d66a724c075cc4034117e431c46e197f56775eff4

Contents?: true

Size: 233 Bytes

Versions: 36

Compression:

Stored size: 233 Bytes

Contents

module LogStashLogger
  module Device
    class IO < Base
      def initialize(opts)
        super
        @io = opts[:io] || fail(ArgumentError, 'IO is required')
        @io.sync = sync unless sync.nil?
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 3 rubygems

Version Path
logstash-logger-0.16.0 lib/logstash-logger/device/io.rb
logstash-logger-0.15.2 lib/logstash-logger/device/io.rb
logstash-logger-0.15.1 lib/logstash-logger/device/io.rb
logstash-logger-0.15.0 lib/logstash-logger/device/io.rb
logstash-logger-0.14.1 lib/logstash-logger/device/io.rb
logstash-logger-0.14.0 lib/logstash-logger/device/io.rb
logstash-logger-0.13.0 lib/logstash-logger/device/io.rb
logstash-logger-0.12.0 lib/logstash-logger/device/io.rb
logstash-logger-0.11.0 lib/logstash-logger/device/io.rb
logstash-logger-0.10.3 lib/logstash-logger/device/io.rb
logstash-logger-0.10.2 lib/logstash-logger/device/io.rb
logstash-logger-0.10.1 lib/logstash-logger/device/io.rb
logstash-logger-0.10.0 lib/logstash-logger/device/io.rb
logstash-logger-0.9.0 lib/logstash-logger/device/io.rb
logstash-logger-0.8.0 lib/logstash-logger/device/io.rb
logstash-logger-0.7.0 lib/logstash-logger/device/io.rb