Sha256: b36b8bb54c36f6e5a8878cfe438c7af1b60683beb0371a9c91af4fd8dd69c14d

Contents?: true

Size: 356 Bytes

Versions: 10

Compression:

Stored size: 356 Bytes

Contents

[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)
```

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
active_model_serializers-0.10.4 docs/general/logging.md
agi_active_model_serializers-0.10.9 docs/general/logging.md
agi_active_model_serializers-0.10.8 docs/general/logging.md
agi_active_model_serializers-0.10.7 docs/general/logging.md
active_model_serializers-0.10.3 docs/general/logging.md
active_model_serializers-0.10.2 docs/general/logging.md
active_model_serializers-0.10.1 docs/general/logging.md
active_model_serializers-0.10.0 docs/general/logging.md
active_model_serializers-0.10.0.rc5 docs/general/logging.md
active_model_serializers-0.10.0.rc4 docs/general/logging.md