fixing some codebot issues, adding godoc for SetLogger.