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

Construct a bark logger from a zap logger #12

Merged
merged 2 commits into from
Sep 12, 2017

Conversation

jkanywhere
Copy link
Contributor

NewLoggerFromZap converts a *zap.Logger to a bark.Logger

@CLAassistant
Copy link

CLAassistant commented Sep 12, 2017

CLA assistant check
All committers have signed the CLA.

@jkanywhere
Copy link
Contributor Author

https://travis-ci.org/uber-common/bark/jobs/274489396 failing due to "undefined: runtime.CallersFrames" as explained uber-go/zap#389

@abhinav abhinav requested a review from akshayjshah September 12, 2017 16:04
Copy link
Contributor

@abhinav abhinav left a comment

Choose a reason for hiding this comment

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

interface.go Outdated
@@ -28,6 +28,8 @@ package bark
import (
"time"

"go.uber.org/zap"

Copy link
Contributor

Choose a reason for hiding this comment

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

same import group as the other external imports

NewLoggerFromZap converts a *zap.Logger to a bark.Logger
Update travis ci config such that supported go versions match the
versions supported by github.com/uber-go/zap library.

Zap gives a `undefined: runtime.CallersFrames` error in go 1.6.
See uber-go/zap#389
@jkanywhere jkanywhere merged commit 2cdaf18 into uber-common:master Sep 12, 2017
@jkanywhere
Copy link
Contributor Author

it's like being struck by lightening?

@abhinav abhinav mentioned this pull request Sep 12, 2017
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.

3 participants