logdna / rails

ActiveSupport::Logger plugin for LogDNA
MIT License
7 stars 4 forks source link

Not clear how to use it with Rails #1

Closed bitkidd closed 7 years ago

bitkidd commented 7 years ago

Tried to add Rails.logger = Logdna::RailsLogger.new(apikey, { :app => appname }) in config/environments/production.rb and it drops an error: NameError: uninitialized constant Logdna

MattChoi1 commented 7 years ago

Hi! I have pushed version 1.0.1 addressing this issue. Could you give a try once more and let me know? Thank you!

bitkidd commented 7 years ago

Yeap, it now works! Thank you!