Adding docs to logWriter