added c++ declaration in wlog
Merge pull request #5 from MartinHaimberger/wlogfix

Wlogfix