Skip to content

Commit

Permalink
Comment(application.rb): Describe what the custom logger does
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisma committed Apr 26, 2019
1 parent 2dd51a1 commit e1eff20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Application < Rails::Application
# Load files in lib
config.eager_load_paths << Rails.root.join('lib')

# set custom formatter to support creating Notifications when an error is logged
# Use custom log formatter which creates Notification objects for admin users
# when an application error is logged, making errors visisble in the application
config.log_formatter = HartFormatter.new

# Use normal JS (default), not coffeescript
Expand Down

0 comments on commit e1eff20

Please sign in to comment.