lib/good_job/logging.rb in good_job-0.2.1 vs lib/good_job/logging.rb in good_job-0.2.2
- old
+ new
@@ -40,9 +40,21 @@
error do
"ERROR: #{exception}\n #{exception.backtrace}"
end
end
+ def scheduler_start_shutdown(_event)
+ info do
+ "Shutting down scheduler..."
+ end
+ end
+
+ def scheduler_shutdown(_event)
+ info do
+ "Scheduler is shut down."
+ end
+ end
+
private
def logger
GoodJob.logger
end