You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
394 B

4 months ago
2 months ago
4 months ago
4 months ago
  1. class HotController < ApplicationController
  2. def index
  3. session[:toto1] = session[:toto1].nil? ? "id##{Random.rand(10)}" : nil
  4. logger.info('callee')
  5. logger.info(__callee__)
  6. logger.info(__method__)
  7. # logger.info(ActiveSupport::LogSubscriber.subscribers.map(&:patterns))
  8. logger.info(ActiveSupport::Notifications.notifier.listeners_for('.*\.action_controller'))
  9. end
  10. end