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

Avoid introducing go-vet noise #30

Closed
wants to merge 1 commit into from
Closed

Avoid introducing go-vet noise #30

wants to merge 1 commit into from

Conversation

jbenet
Copy link

@jbenet jbenet commented Oct 25, 2014

Fixes #29

@jbenet
Copy link
Author

jbenet commented Oct 25, 2014

Ack, sorry tests fail. will fix-- second

Currently, go-logging introduces go-vet noise into client codebases.

- introduces `-f` variants
- changes old, non `-f` variants to use fmt.Sprint, as the
  `(*Logger) Panic` and `(*Logger) Fatal` functions do.
- Adds a few comments that help logger.go pass golint
- Fixes op#29
@jbenet
Copy link
Author

jbenet commented Oct 25, 2014

log.Warning("this is not backwards compatible, as many calls may need to add an f now")

jbenet added a commit to ipfs/kubo that referenced this pull request Oct 25, 2014
jbenet added a commit to ipfs/kubo that referenced this pull request Oct 25, 2014
@op
Copy link
Owner

op commented Nov 3, 2014

I can't merge this change as it would break backwards compatibility.

I believe the API is sane though. Would be great if there were a generic log interface somewhere following this API, with an implementation for this and many other logging libraries.

@jaytaylor
Copy link

If you won't merge, why is this still open?

op added a commit that referenced this pull request Nov 24, 2015
@op
Copy link
Owner

op commented Nov 24, 2015

I did listen to the community and merged #12 which added this functionality. Thanks.

@op op closed this Nov 24, 2015
whyrusleeping pushed a commit to ipfs/go-unixfs that referenced this pull request Jul 30, 2018
Jorropo pushed a commit to Jorropo/go-libipfs that referenced this pull request Jan 25, 2023
until op/go-logging#30 is merged


This commit was moved from ipfs/go-unixfs@8e3a210
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.

Formatting versions
3 participants