Added API doc examples
Merge pull request #1493 from kraman/gen_docs

Added API doc examples
Use sync IO for the logger file
Merge pull request #1496 from ironcladlou/nodelogger_fix

Use sync IO for the logger file