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

Round out logging interface with functions for all levels #1432

Merged
merged 1 commit into from
May 12, 2019

Conversation

alindeman
Copy link
Contributor

The logging interface added in #1408 captured only logging methods used in dex itself. I understand the rationale, but I also find it awkward to see functions like Warnf left out when Warn exists. And similarly, having Errorf but not Error.

For projects that extend Dex to introduce additional connectors, for example, it feels awkward to have to use fmt.Sprintf for Warn, but not for Error.

Copy link
Contributor

@ericchiang ericchiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, this seems fine.

@ericchiang ericchiang merged commit 06ec381 into dexidp:master May 12, 2019
mmrath pushed a commit to mmrath/dex that referenced this pull request Sep 2, 2019
Round out logging interface with functions for all levels
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.

2 participants