Skip to content

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