mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Fix grammar per duduribeiro [ci skip]
This commit is contained in:
parent
51af5a4b76
commit
9c3431db9e
@ -2,12 +2,12 @@
|
||||
|
||||
# Logging
|
||||
|
||||
If we are using ActiveModelSerializers on a Rails app by default the `Rails.logger` will be used.
|
||||
The default logger in a Rails application will be `Rails.logger`.
|
||||
|
||||
On a non Rails enviroment by default the `ActiveSupport::TaggedLogging` will be
|
||||
used.
|
||||
When there is no `Rails.logger`, the default logger is an instance of
|
||||
`ActiveSupport::TaggedLogging` logging to STDOUT.
|
||||
|
||||
You may customize the logger we by in an initializer, for example:
|
||||
You may customize the logger in an initializer, for example:
|
||||
|
||||
```ruby
|
||||
ActiveModelSerializers.logger = Logger.new(STDOUT)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user