added new logger feature