renamed logger var to mLogger