We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fe1aee + f495f44 commit 7a80f98Copy full SHA for 7a80f98
docs/general/logging.md
@@ -16,6 +16,5 @@ ActiveModelSerializers.logger = Logger.new(STDOUT)
16
You can also disable the logger, just put this in `config/initializers/active_model_serializers.rb`:
17
18
```ruby
19
-require 'active_model_serializers'
20
-ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)
+ActiveModelSerializers.logger = Logger.new(IO::NULL)
21
```
0 commit comments