lib/ahoy.rb in ahoy_matey-2.0.1 vs lib/ahoy.rb in ahoy_matey-2.0.2

- old
+ new

@@ -64,9 +64,13 @@ mattr_accessor :track_bots self.track_bots = false mattr_accessor :token_generator self.token_generator = -> { SecureRandom.uuid } + + def self.log(message) + Rails.logger.info { "[ahoy] #{message}" } + end end ActiveSupport.on_load(:action_controller) do include Ahoy::Controller end