-
Notifications
You must be signed in to change notification settings - Fork 266
Logging Guidance
Yishai Galatzer edited this page Feb 25, 2016
·
8 revisions
This spec covers Logging in NuGet.exe and NuGet.CommandLine.Xplat as it appears in the console and output streams
- Logging will keep a prefix of the log level: INFO, WARNING, ERROR and the like next to each method showing in the console. This allows for understanding the logs if they get piped into a file
- Logging will write all messages to the output stream only (and never to the error stream)
- An error summary will be produced and will be written to the error stream (so scripts can pivot on errors written as a way to determine a failure)
- Warnings will not be written to the error stream
- An informational summary will be written without any INFO label on it, to make it easily human readable
- Colors will be applied in the console to Warning and Error
Check out the proposals in the accepted & proposed folders on the repository, and active PRs for proposals being discussed today.