code: func (c *Connection) SetLogger(l *log.Logger) {
  	logLock.Lock()
  	c.logger = l
  	logLock.Unlock()
  }
docs: /*
  	SetLogger enables a client defined logger for this connection.
  
  	Set to "nil" to disable logging.
  
  	Example:
  		// Start logging
  		l := log.New(os.Stdout, "", log.Ldate|log.Lmicroseconds)
  		c.SetLogger(l)
  */