Skip to content

Commit

Permalink
Update logging.md
Browse files Browse the repository at this point in the history
  • Loading branch information
msathieu authored Jan 17, 2017
1 parent 93ca27f commit 68f8ebe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/general/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ 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/application.rb`:

```ruby
ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)
```

0 comments on commit 68f8ebe

Please sign in to comment.