Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Wrong debug level number mapping in DebugLevel enum #32

Open
HeadOnChristian opened this issue Jan 21, 2021 · 0 comments
Open

Wrong debug level number mapping in DebugLevel enum #32

HeadOnChristian opened this issue Jan 21, 2021 · 0 comments

Comments

@HeadOnChristian
Copy link

HeadOnChristian commented Jan 21, 2021

According to the documentation valid debug levels are:

-1 (no output), 1 (errors only), 2 (errors+warnings) and 3 (errors+warnings+info)

But the numbers in DebugLevel enum differ by one digit:

public enum DebugLevel { NO_OUTPUT = -1, ERRORS_ONLY = 0, ERRORS_AND_WARNINGS = 1, EVERYTHING = 2 }

When setting configuration.DebugLevel = (DebugLevel)3 all information is being logged correctly so documentation seems to be right and mapping in DebugLevel enum should be fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant