Write score to log