LogTargetTypeFromString extension

on