Modify debug logging to use function passed as option as logger
Update README.md regarding debug info
0.0.1