# MainController for basic routes class MainController < ApplicationController def home # flash.now[:notice] = 'this is a notice flash' logger.info 'efficient logging for dark theme' @value = 6 end def about # flash.now[:alert] = 'this is an alert flash' logger.debug 'some debugging info' logger.info 'relevant information' # logger.info "multiline\nline2\nline3" logger.warn 'a warning' # logger.error "an error" # raise "this is an error" # sleep 3 end end