added log() method; 1.3.0