Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log fix #112

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Log fix #112

wants to merge 3 commits into from

Conversation

W192547975
Copy link
Contributor

In log.go, I found that the update changed the values of the original LogLevels, increasing them by 1.
This is due to the fact that "iota" is incremented on every variable, regardless of whether the variable uses it or not.

testing screenshot image

I fixed this at line 16 and did some extra changes shown in the commit message.

W192547975 and others added 3 commits November 23, 2024 08:05
Stop writing ServerPort in init because it is never used and will be overwritten in parseParams.
Give FlagSet value written by init.
Correct the behavior of notVerbose.
A iota==1 bug.
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.

1 participant