Test logging from evaled string.