Add pipe logger.
Merge pull request #380 from KLab/logpipe

Add pipe logger.