class Fluent::LogDeviceIO

def tty?

def tty?
  if @dev.respond_to?(:tty?)
    @dev.tty?
  else
    super
  end
end