nfdi4plants / ARCCommander

Tool to manage your ARCs
MIT License
11 stars 9 forks source link

Logger FR #88

Closed omaus closed 2 years ago

omaus commented 2 years ago

Tackles #86 resp. #16

omaus commented 2 years ago

One important thing which I also commented in the ArcAPI .export case: Does this debug log go through in any case. As this is the main output of the command used by the user, it should be shown even though the Verbosity is set to zero and the ArcCommander is completely silenced besides this main output.

Yes. As commented in Logging.fs, .Debug method is shown at every verbosity (verbosity 0). This also applies to .Warn, .Error, and .Fatal. Only .Info (verbosity 1) and .Trace (verbosity 2) are affected by user's verbosity choices.

HLWeil commented 2 years ago

What are examples for Warn. Maybe one could argue about them being only shown in verbosity level 1