[Back to Guides](../README.md)

# Logging

If we are using ActiveModelSerializers on a Rails app by default the `Rails.logger` will be used.

On a non Rails enviroment by default the `ActiveSupport::TaggedLogging` will be
used.

You may customize the logger we by in an initializer, for example:

```ruby
ActiveModelSerializers.logger = Logger.new(STDOUT)
```

[Back to Guides](../README.md)

# Logging

The default logger in a Rails application will be `Rails.logger`.

When there is no `Rails.logger`, the default logger is an instance of
`ActiveSupport::TaggedLogging` logging to STDOUT.

You may customize the logger in an initializer, for example:

```ruby
ActiveModelSerializers.logger = Logger.new(STDOUT)
```

Fix grammar per duduribeiro
Fix grammar per duduribeiro [ci skip]
