lib/hanami/config/logger.rb
# Custom logger engine.
#
# This isn't used by default, but allows developers to use their own logger.
#
# @overload engine(value)
#   Sets the given value
#   @param value [Object] a logger
#
# @overload engine
#   Gets the value
#   @return [Object] returns the logger
#
# @since x.x.x
Custom logger engine.
This isn't used by default, but allows developers to use their own logger.
Custom logger engine . This isn ' t used by default but allows developers to use their own logger .
def engine(value = nil)
        if value.nil?
          @engine
        else
          @engine = value
        end
      end
def engine ( value = nil ) if value . nil? @engine else @engine = value end end
Custom logger engine.
Custom logger engine .
value
overload
engine(value) Sets the given value @param value [Object] a logger
engine ( value ) Sets the given value @param value [ Object ] a logger
overload
engine Gets the value @return [Object] returns the logger
engine Gets the value @return [ Object ] returns the logger
since
None