diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index 93150822c2bd5..dd25889880c25 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -15,9 +15,10 @@ module Core ## # :singleton-method: # - # Accepts a logger conforming to the interface of Log4r which is then - # passed on to any new database connections made and which can be - # retrieved on both a class and instance level by calling +logger+. + # Accepts a logger conforming to the interface of Log4r or the default + # Ruby +Logger+ class, which is then passed on to any new database + # connections made. You can retrieve this logger by calling +logger+ on + # either an Active Record model class or an Active Record model instance. class_attribute :logger, instance_writer: false class_attribute :_destroy_association_async_job, instance_accessor: false, default: "ActiveRecord::DestroyAssociationAsyncJob"