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

Use strings for params which implement Stringer #82

Open
Arthur-Befumo opened this issue Apr 6, 2020 · 0 comments
Open

Use strings for params which implement Stringer #82

Arthur-Befumo opened this issue Apr 6, 2020 · 0 comments

Comments

@Arthur-Befumo
Copy link

What happened?

SafeParam(enum.STATE) logs the enum value, rather than the human readable string.

What did you want to happen?

Default behavior should be to log the string value of any param which implements the Stringer interface (so the above would be equivalent to SafeParam(enum.STATE.String()).

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

No branches or pull requests

1 participant