Make logger fields private