flashpolicyd.rb
# If the logger instanse is in DEBUG mode, put it into INFO and vica versa
If the logger instanse is in DEBUG mode, put it into INFO and vica versa
If the logger instanse is in DEBUG mode put it into INFO and vica versa
def toggledebug
    if (@logger.debug?)
      @logger.level = Logger::INFO
      info("Set logging level to INFO")
    else
      @logger.level = Logger::DEBUG
      info("Set logging level to DEBUG")
    end
  end
def toggledebug if ( @logger . debug? ) @logger . level = Logger :: INFO info ( "Set logging level to INFO" ) else @logger . level = Logger :: DEBUG info ( "Set logging level to DEBUG" ) end end
If the logger instanse is in DEBUG mode, put it into INFO and vica versa
If the logger instanse is in DEBUG mode put it into INFO and vica versa