client api verbose mode?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
stephenr

client api verbose mode?

Post by stephenr » Wed Jan 19, 2005 10:08 am

We are pulling down a very large solution via the api for an automated build. It's tough to gauge what is happening while it's running though. Is there a verbose mode we can turn on, so we can see what vault is retrieving while it's retrieving. Also, can we then see any vault errors logged somewhere?

Thanks!

Stephen R.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Jan 28, 2005 3:19 pm

You can get more information from the API by hooking in to the StatusChanged handler in the ClientInstance. For example:

Code: Select all

myClientInstance.StatusChanged += new StatusChangedEventHandler(StatusChangedHandler);
where StatusChangedHandler is

Code: Select all

private void StatusChangedHandler(object sender, string message)
		{
			Console.Out.WriteLine(message);
		}
will output all of the file names that are downloaded during a get.

Post Reply