changed the name of the logger method to _get_logger()