lib/kitchen.rb
# Determine the default log level from an environment variable, if it is
# set.
#
# @return [Integer,nil] a log level or nil if not set
# @api private
Determine the default log level from an environment variable, if it is
set.
Determine the default log level from an environment variable if it is set .
def env_log
      level = ENV["KITCHEN_LOG"] && ENV["KITCHEN_LOG"].downcase.to_sym
      level = Util.to_logger_level(level) unless level.nil?
      level
    end
def env_log level = ENV [ "KITCHEN_LOG" ] && ENV [ "KITCHEN_LOG" ] . downcase . to_sym level = Util . to_logger_level ( level ) unless level . nil? level end
Determine the default log level from an environment variable, if it is
set.
Determine the default log level from an environment variable if it is set .
a log level or nil if not set
a log level or nil if not set
Integer,nil
api
None