class AppInsights::RailsInstaller

Public Instance Methods

init(root, filename = nil) click to toggle source
# File lib/appinsights/installers/rails.rb, line 9
def init(root, filename = nil)
  installer = AppInsights::BaseInstaller.new config.app_middleware,
                                             root,
                                             filename,
                                             Rails.logger

  installer.install

  Rails.logger = AppInsights::LoggerProxy.new Rails.logger
end