xcodes icon indicating copy to clipboard operation
xcodes copied to clipboard

Add global verbose flag that prints more information about installation progress and errors

Open interstateone opened this issue 5 years ago • 1 comments

This should involve expanding Logging.log with different logging levels, like debug, info, warn and error. A global log level would determine which log messages were actually output. Increasing log levels would print fewer, higher-priority messages. The default log level would be info, and the current output should migrate to the info level.

A new global -v/--verbose flag would change the log level to debug. This should output more information, like network request headers and bodies, so that users can provide more meaningful bug reports and we can more easily troubleshoot issues.

Colors should be set for the warn and error levels in one place, instead of at each Logging.log call site. Errors should also be sent to STDERR instead of STDOUT.

interstateone avatar Feb 03 '21 03:02 interstateone

This would be really handy, any updates on this? I can't get xcodes to work, see this issue: #314

skizzo avatar Sep 02 '23 12:09 skizzo