Added logWriter