-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C#: Improve log messages #16321
C#: Improve log messages #16321
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -91,9 +91,9 @@ public bool AddPackage(string folder, string package) | |||
return dotnetCliInvoker.RunCommand(args); | |||
} | |||
|
|||
public IList<string> GetListedRuntimes() => GetResultList("--list-runtimes", null, false); | |||
public IList<string> GetListedRuntimes() => GetResultList("--list-runtimes", null, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: No need to supplu null
and true
as these are the defaults.
|
||
public IList<string> GetListedSdks() => GetResultList("--list-sdks", null, false); | ||
public IList<string> GetListedSdks() => GetResultList("--list-sdks", null, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Same as above.
} | ||
|
||
public void MissingSummary(int missingTypes, int missingNamespaces) | ||
{ | ||
logger.Log(Severity.Info, "Failed to resolve {0} types in {1} namespaces", missingTypes, missingNamespaces); | ||
if (missingTypes > 0 || missingNamespaces > 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.