mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Update logging.md
This commit is contained in:
@@ -16,5 +16,6 @@ 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)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user