log function for elements
Merge pull request #71 from secretrobotron/master

log function for elements