Sha256: 9d309708e7a91bb6db720d2ca1c67cb73a84d2d766aec5e51729e47ae8cd41af

Contents?: true

Size: 254 Bytes

Versions: 15

Compression:

Stored size: 254 Bytes

Contents

module LogStashLogger
  module Device
    class Stdout < IO
      def initialize(opts={})
        super({io: $stdout}.merge(opts))
      end

      def close
        # no-op
        # Calling $stdout.close would be a bad idea
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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