lib/hanami/config/logger.rb
def stream(value = nil)
        if value.nil?
          @stream
        else
          @stream = value
        end
      end
# Log stream.
#
# <tt>STDOUT</tt> by default.
#
# It accepts relative or absolute paths expressed as <tt>String</tt>, or
# <tt>Pathname</tt>.
#
# It can also accept a <tt>IO</tt> or <tt>StringIO</tt> as output stream.
#
# @overload stream(value)
#   Sets the given value
#   @param value [String,Pathname,IO,StringIO] for log stream option.
#
# @overload stream
#   Gets the value
#   @return [String,Pathname,IO,StringIO] log stream option's value
#
# @since x.x.x
Log stream.
STDOUT by default.

It accepts relative or absolute paths expressed as String, or
Pathname.

It can also accept a IO or StringIO as output stream.
Log stream . STDOUT by default . It accepts relative or absolute paths expressed as String or Pathname . It can also accept a IO or StringIO as output stream .
def stream(value = nil)
        if value.nil?
          @stream
        else
          @stream = value
        end
      end
def stream ( value = nil ) if value . nil? @stream else @stream = value end end
Log stream.
Log stream .
value
overload
stream(value) Sets the given value @param value [String,Pathname,IO,StringIO] for log stream option.
stream ( value ) Sets the given value @param value [ String Pathname IO StringIO ] for log stream option .
overload
stream Gets the value @return [String,Pathname,IO,StringIO] log stream option's value
stream Gets the value @return [ String Pathname IO StringIO ] log stream option ' s value
since
None