Implemented map_to_target for logmapper