class Fluent::LogDeviceIO
This class delegetes some methods which are used in `Fluent::Logger` to a instance variable(`dev`) in `Logger::LogDevice` class github.com/ruby/ruby/blob/7b2d47132ff8ee950b0f978ab772dee868d9f1b0/lib/logger.rb#L661
Public Instance Methods
flush()
click to toggle source
Calls superclass method
# File lib/fluent/log.rb, line 522 def flush if @dev.respond_to?(:flush) @dev.flush else super end end
sync=(v)
click to toggle source
Calls superclass method
# File lib/fluent/log.rb, line 538 def sync=(v) if @dev.respond_to?(:sync=) @dev.sync = v else super end end
tty?()
click to toggle source
Calls superclass method
# File lib/fluent/log.rb, line 530 def tty? if @dev.respond_to?(:tty?) @dev.tty? else super end end