Sha256: 87e29e151c821220b5d45bba17557d5b20bc39392d5b1ed7216f390596fd6fd5
Contents?: true
Size: 594 Bytes
Versions: 6
Compression:
Stored size: 594 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) ``` 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) ```
Version data entries
6 entries across 6 versions & 2 rubygems