rails 4 friendly

rails 4 expects logger to have a 'formatter' method, so i created one (not sure if it's the best implementation, but it got past interpreter)