added a raw implementation of a statisticsLogger