fix broken log function
Merge pull request #1 from Yannik/patch-1

fix broken log function