Skip to content

Extract functions in Diagnostics command#1118

Merged
mjbvz merged 4 commits intomicrosoft:masterfrom
mjbvz:extract-diagnostics-window-logging
Jul 5, 2016
Merged

Extract functions in Diagnostics command#1118
mjbvz merged 4 commits intomicrosoft:masterfrom
mjbvz:extract-diagnostics-window-logging

Conversation

@mjbvz
Copy link
Copy Markdown
Contributor

@mjbvz mjbvz commented Jun 30, 2016

We're looking to add some additional project info to our Diagnostics / Telemetry (#1116). I've took a quick pass through the current diagnostics window to clean up the code a bit and hopefully make this easier.

The cleanup extracted functionality for logging each of the major info groups, such as project or assemblies. This just organizes and cleans up the code so that adding new fields should be easier.

We're looking to add some additional project info to our Diagnostics / Telemetry (microsoft#1116). I've took a quick pass through the current diagnostics window to clean up the code a bit and hopefully make this easier.

The cleanup extracted functionality for logging each of the major info groups, such as project or assemblies. This just organizes and cleans up the code so that adding new fields should be easier.
// about the exception. We'll add it to the output,
// rather than crashing.
res.AppendLine("Project: " + ex.Message);
res.AppendLine(Indent(8, "Kind: Node.js"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also be de-dented if project is de-dented

@mousetraps
Copy link
Copy Markdown
Contributor

minor comments and 👍 after that!

@mjbvz mjbvz merged commit 5cd03ce into microsoft:master Jul 5, 2016
@mjbvz mjbvz removed the in-progress label Jul 5, 2016
@mjbvz
Copy link
Copy Markdown
Contributor Author

mjbvz commented Jul 5, 2016

Following up with #1119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants