Check for ActiveSupport::BufferedLogger and use it if it is defined.

ComfortableMexicanSofa defines custom methods on this logger which fail
with logentries. Hoping this will fix that.