Rewrite ws_log() To always appending a newline char
Merge pull request #80 from matthiasbeyer/fix-logger_newline

ws_log() reimplementation for newline character appending