Skip to content

logger: fix a bug when printing placeholders to certain types of loggers#2648

Merged
nicks merged 1 commit into
masterfrom
nicks/logger2
Dec 10, 2019
Merged

logger: fix a bug when printing placeholders to certain types of loggers#2648
nicks merged 1 commit into
masterfrom
nicks/logger2

Conversation

@nicks

@nicks nicks commented Dec 10, 2019

Copy link
Copy Markdown
Contributor

Hello @landism,

Please review the following commits I made in branch nicks/logger2:

2594ea0 (2019-12-09 20:06:20 -0500)
logger: fix a bug when printing placeholders to certain types of loggers
Noticed that if you wrote l.Write(logger.InfoLvl, "%s"), it would
print "%s(MISSING)" to the output stream.

While I was here, I ended up deleting a bunch of redundant code.

Noticed that if you wrote l.Write(logger.InfoLvl, "%s"), it would
print "%s(MISSING)" to the output stream.

While I was here, I ended up deleting a bunch of redundant code.
@nicks
nicks requested a review from landism December 10, 2019 16:33
@nicks
nicks merged commit 4179a48 into master Dec 10, 2019
@nicks
nicks deleted the nicks/logger2 branch December 10, 2019 22:06
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