Change the persist logger to use an io.Writer by default, while preserving Close functionality
io.Writer
Close