Class: Rails::Log::Profiling::ViewProfilingLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/rails/log/profiling/view_profilng_logger.rb

Class Method Summary collapse

Class Method Details

.runObject



5
6
7
8
9
10
# File 'lib/rails/log/profiling/view_profilng_logger.rb', line 5

def self.run
  require 'fileutils'
  @root_path = Rails.root.to_s
  FileUtils.mkdir_p(@root_path + '/log')
  rails_log_view_profiling_setting
end