       name        : name ? 'kontrol'
       url         : url
       auth        : auth
+      logLevel    : logLevel
 
     @kite.on 'error', @emit.bind this, 'error'  # forward kite error events
     @kite.on 'connected', @emit.bind this, 'connected'

      auth        :
        type      : 'token'
        key       : token

  createKites: (kiteDescriptors) ->
    (@createKite k for k in kiteDescriptors)

    @authenticate()  if @options.autoConnect

  authenticate: (@options = @options) ->
    { url, auth, username, environment, version, region, hostname, name, logLevel } = @options

    @kite = new @constructor.Kite
      username    : username
