This should really be defined in the [rails compatibility](https://github.com/TwP/logging/blob/master/lib/logging/rails_compat.rb) module.