Some things I was able to change, but operator<< on getBuffer() in Logger seems mysterious