textlogger: don't leak internal VState in the Config API #367
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
/kind bug
What steps did you take and what happened:
Config embeds VState, which makes VState methods
V
andVModule
accessible. This was intentional because it enables verbosity level changes at runtime. However, it's not a good solution because the internal packages should be completely hidden.What did you expect to happen:
Config should define its own API for v and vmodule changes. This might even be the same as in VState.
Advantages:
The text was updated successfully, but these errors were encountered: