Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Round out logging interface with functions for all levels#1432

Merged
ericchiang merged 1 commit into
dexidp:masterfrom
alindeman:warnf
May 12, 2019
Merged

Round out logging interface with functions for all levels#1432
ericchiang merged 1 commit into
dexidp:masterfrom
alindeman:warnf

Conversation

@alindeman
Copy link
Copy Markdown
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
Copy Markdown
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