Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Update log appearance for application controller #25

Merged
merged 1 commit into from
Jan 25, 2019
Merged

Conversation

philoserf
Copy link
Contributor

The existing log result has two issues:

  • it provides little information to a reader of the log message
  • it doesn't follow go community conventions for log messages

To improve the message this adds information to the message and
sets the first letter to lower case. Incidentally, this also adds return
values to the adjacent bare return.

closes #24

Signed-off-by: Mark Ayers mark@philoserf.com

NOTE for Reviewers: I had considered removing the log message. I am not certain that adding more context to the message improves what will still be a potentially long set of log messages. See the example in the referenced issue for an example.

@philoserf
Copy link
Contributor Author

the replacement commit fixes a typo in the original

- it provides little information to a reader of the log message
- it doesn't follow go community conventions for log messages

To improve the message this adds information to the message and
sets the first letter to lower case. Incidentally, this also adds return
values to the adjacent bare return.

closes #24

Signed-off-by: Mark Ayers mark@philoserf.com
Copy link
Contributor

@zachpuck zachpuck left a comment

Choose a reason for hiding this comment

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

LGTM

@philoserf philoserf merged commit e400294 into master Jan 25, 2019
@philoserf philoserf deleted the issue-24 branch January 25, 2019 20:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove or improve an uninformative log message
2 participants