refactor SimpleLogger into simple_logger compile unit