Bug 1035228 - Refactor FrameMetrics logging so that it's all in one place. r=BenWa