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.

28 lines
952 B

1 year ago
1 year ago
1 year ago
1 year ago
  1. require_relative "boot"
  2. require "rails/all"
  3. # Require the gems listed in Gemfile, including any gems
  4. # you've limited to :test, :development, or :production.
  5. Bundler.require(*Rails.groups)
  6. class Application < Rails::Application
  7. # Initialize configuration defaults for originally generated Rails version.
  8. config.load_defaults 7.0
  9. config.rails_semantic_logger.semantic = false
  10. config.rails_semantic_logger.started = false
  11. config.rails_semantic_logger.processing = true
  12. config.rails_semantic_logger.rendered = true
  13. config.semantic_logger.backtrace_level = :info
  14. config.rails_semantic_logger.ap_options = { multiline: true }
  15. config.colorize_logging = false
  16. config.rails_semantic_logger.console_logger = false
  17. $stdout.sync = true
  18. config.rails_semantic_logger.add_file_appender = false
  19. require_relative "../lib/formatters/basic_formatter"
  20. config.semantic_logger.add_appender(io: $stdout, formatter: BasicFormatter.new)
  21. end