Adds log method and documentation
Merge pull request #13 from stefanpenner/log

Adds log method