Skip to content

Commit

Permalink
Merge pull request #49878 from skipkayhil/hm-doc-ar-core-logger
Browse files Browse the repository at this point in the history
Update AR::Core#logger to match configuring guide [ci-skip]
  • Loading branch information
skipkayhil committed Oct 31, 2023
1 parent 4909d05 commit c10f287
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions activerecord/lib/active_record/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c10f287

Please sign in to comment.