instance method
logger
Ruby on Rails 8.0.4
Since v7.2.3Accepts a logger conforming to the interface of Log4r or the default Ruby Logger class. You can retrieve this logger by calling logger on either an Active Job job class or an Active Job job instance.
Source
# File activejob/lib/active_job/logging.rb, line 15
cattr_accessor :logger, default: ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new(STDOUT))
Defined in activejob/lib/active_job/logging.rb line 15
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::Logging