made log() private