Added documentation for log method

Removed content from readme and put it in the log document