Replicated more of the protocol of the standard Logger class to aid Rails 4.0 compatibility