You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
313 B

1 year ago
1 year ago
1 year ago
  1. class MainController < ApplicationController
  2. def home
  3. logger.info "efficient logging for dark theme"
  4. end
  5. def about
  6. logger.debug "some debugging info"
  7. logger.info "line1\nline2\nline3"
  8. logger.warn "a warning"
  9. logger.error "an error"
  10. # raise "this is an error"
  11. sleep 3
  12. end
  13. end