Add an option to pass a logger instance to the gossiper.