Logger to receive Writer instead of filename.