Skip to content

[WIP] Verbose bootstrapper - #2007

Merged
forki merged 4 commits into
fsprojects:masterfrom
vbfox:verbose_bootstrapper
Nov 10, 2016
Merged

[WIP] Verbose bootstrapper#2007
forki merged 4 commits into
fsprojects:masterfrom
vbfox:verbose_bootstrapper

Conversation

@vbfox

@vbfox vbfox commented Nov 6, 2016

Copy link
Copy Markdown
Contributor

This PR change the way -s work in the bootstrapper. There is now a verbosity level that can be decreased via -s and increased via -v.

The levels are :

  • Silent -> Never display anything.
  • ErrorsOnly -> Only errors are shown on the console (Default in magic mode)
  • Normal -> Informative logs (Default in non-magic mode)
  • Trace -> More logs, especially timing for most operation is displayed.

This PR change the default behavior, before a single -s resulted in the boostrapper being silent but 2 are now needed for the same result

vbfox added 4 commits November 2, 2016 22:16
It replace the 'Silent' that was present before. Verbosity can be lowered
by one or more '-s' and raised by one or more '-v'.

This commit also change the behavior of the boostrapper when called with a
single '-s' argument, it's now displaying errors only instead of being
totally silent (A second '-s' is now necessary for that)
There are now a lot more logs in trace mode. A base class for all download
strategies is now taking care of logging execution start & time for all
methods.
@forki

forki commented Nov 9, 2016

Copy link
Copy Markdown
Member

can you please make it compile with older C#? I have trouble in VS2013

@forki
forki merged commit 3302f68 into fsprojects:master Nov 10, 2016
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.

2 participants