Class: LogStashLogger::Device::Stderr
- Defined in:
- lib/logstash-logger/device/stderr.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #close! ⇒ Object
-
#initialize(opts = {}) ⇒ Stderr
constructor
A new instance of Stderr.
Methods inherited from Base
#close, #flush, #reset, #to_io, #unrecoverable_error?, #write, #write_batch, #write_one
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
#close! ⇒ Object
8 9 10 |
# File 'lib/logstash-logger/device/stderr.rb', line 8 def close! # no-op end |