Logging support
Merge pull request #32 from wndhydrnt/f-logging

Logging support