Lal 368 - Added abstraction for the logger

AsyncWriterSource::requestClose should really take a callback for this.