mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Squashed commits: Add Logging Generates logging when renders a serializer. Tunning performance on notify_active_support - Use yield over block.call - Freeze the event name string Organize the logger architeture * Keep only the `ActiveModel::Serializer.logger` to follow the same public API we have for example to config, like `ActiveModel::Serializer.config.adapter` and remove the `ActiveModelSerializers.logger` API. * Define the logger on the load of the AMS, following the Rails convention on Railties [1], [2] and [3]. This way on non Rails apps we have a default logger and on Rails apps we will use the `Rails.logger` the same way that Active Job do [4]. [1]: |
||
|---|---|---|
| .. | ||
| adapter | ||
| adapter.rb | ||
| array_serializer.rb | ||
| association.rb | ||
| associations.rb | ||
| belongs_to_reflection.rb | ||
| collection_reflection.rb | ||
| collection_serializer.rb | ||
| configuration.rb | ||
| fieldset.rb | ||
| has_many_reflection.rb | ||
| has_one_reflection.rb | ||
| include_tree.rb | ||
| lint.rb | ||
| logging.rb | ||
| railtie.rb | ||
| reflection.rb | ||
| singular_reflection.rb | ||
| version.rb | ||