Add method to make Formatter compatible with ActiveSupport logging extension