This warning is included in the AllResults.html file along with more detailed information that includes the tests with duplicate names.
Or are you looking for a specific string to go into the NCrunch internal logs so you can pick this up with a Regex? I generally recommend steering away from tying into the internal NCrunch logs.. because they are .. well.. internal.