Added support for Rails 4

Made a small change to logger.rb in order to support Rails 4 

ActiveSupport::BufferedLogger was replaced  in Rails 4 with ActiveSupport::Logger