Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
More output
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Mar 21, 2017
1 parent 5596a60 commit 7b36ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/timber/integrations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ module Timber
# @private
module Integrations
def self.integrate!
puts "\n\nintegrating!\n\n"

ActionController::LogSubscriber.integrate!
ActionDispatch::DebugExceptions.integrate!
ActionView::LogSubscriber.integrate!
puts "\n\ncalled actions view integration!\n\n"
ActiveRecord::LogSubscriber.integrate!
ActiveSupport::TaggedLogging.integrate!
Rails::RackLogger.integrate!
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
require File.join(File.dirname(__FILE__), 'support', 'webmock')
require File.join(File.dirname(__FILE__), 'support', 'timber')

# Load framework files after we've setup everything
if !ENV["RAILS_23"]
require File.join(File.dirname(__FILE__), 'support', 'rails')
require File.join(File.dirname(__FILE__), 'support', 'action_controller')
Expand Down

0 comments on commit 7b36ebf

Please sign in to comment.