# Development Constants module LiveConstants # constants STIMULUS_DEBUG = false LOG_ACTIVE_RECORD = false LOG_ACTION_VIEW = false def self.reload! ActionView::Base.logger.level = LOG_ACTION_VIEW ? :debug : :fatal ActiveRecord::Base.logger.level = LOG_ACTIVE_RECORD ? :debug : :fatal SemanticLogger[to_s].warn 'reloaded!' end reload! end