LogWriter adapts a logging function to io.Writer