Skip to content

Commit ab98c4a

Browse files
authored
Update logging.md
1 parent 3d44bfc commit ab98c4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/general/logging.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ ActiveModelSerializers.logger = Logger.new(STDOUT)
1616
You can also disable the logger, just put this in `config/initializers/active_model_serializers.rb`:
1717

1818
```ruby
19+
require 'active_model_serializers'
1920
ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)
2021
```

0 commit comments

Comments
 (0)