Class: LogStashLogger::Device::Stderr

Inherits:
IO
  • Object
show all
Defined in:
lib/logstash-logger/device/stderr.rb

Instance Attribute Summary

Attributes inherited from Base

#io, #sync

Instance Method Summary collapse

Methods inherited from Base

#flush, #to_io, #write

Constructor Details

#initialize(opts = {}) ⇒ Stderr

Returns a new instance of Stderr.



4
5
6
# File 'lib/logstash-logger/device/stderr.rb', line 4

def initialize(opts={})
  super({io: $stderr}.merge(opts))
end

Instance Method Details

#closeObject



8
9
10
# File 'lib/logstash-logger/device/stderr.rb', line 8

def close
  # no-op
end