docs/general/logging.md in active_model_serializers-0.10.4 vs docs/general/logging.md in active_model_serializers-0.10.5
- old
+ new
@@ -10,5 +10,12 @@
You may customize the logger in an initializer, for example:
```ruby
ActiveModelSerializers.logger = Logger.new(STDOUT)
```
+
+You can also disable the logger, just put this in `config/initializers/active_model_serializers.rb`:
+
+```ruby
+require 'active_model_serializers'
+ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)
+```