added log method for result

added log method for result