Method: AppInsights::BaseInstaller#install
- Defined in:
- lib/appinsights/installers/base.rb
#install ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/appinsights/installers/base.rb', line 9 def install AppInsights::ConfigLoader.new @root, @filename AppInsights::Middlewares.enabled.each do |middleware, args| @app.use middleware, *args.values end rescue AppInsights::ConfigFileNotFound => e logger.error e. logger.info end |