code: def logout(self,
  	           command='exit',
  	           note=None,
  	           echo=None,
  	           timeout=shutit_global.shutit_global_object.default_timeout,
  	           nonewline=False,
  	           loglevel=logging.DEBUG):
  		
  		shutit_global.shutit_global_object.yield_to_draw()
  		shutit_pexpect_session = self.get_current_shutit_pexpect_session()
  		return shutit_pexpect_session.logout(ShutItSendSpec(shutit_pexpect_session,
  		                                                    send=command,
  		                                                    note=note,
  		                                                    timeout=timeout,
  		                                                    nonewline=nonewline,
  		                                                    loglevel=loglevel,
  		                                                    echo=echo))
docs: Logs the user out. Assumes that login has been called.
  		If login has never been called, throw an error.
  
  			@param command:         Command to run to log out (default=exit)
  			@param note:            See send()